Re: space on informix database
Posted in 2005
Topics: Storage & Space Management, Server Administration
Hi!
> divvy -N -P /dev/rhd01
> 0 0 2000000 alex HTFS
> 7 0 13494599 hd01 WHOLE DISK
> I know it, bat I need some more space. 10 gb on the partition /dev/rhd01
> will be OK.
So, you have a HTFS filesystem mounted on /alex, this physically located on
/dev/rhd01, right? You would like to add 10Gb more to the dbditte dbspace.
You have to add 5 chunks, 2 Gb each (it's Informix size limitation, at
least, in your version).
Let's extend my previous post to add 5 chunks:
As root:
dd if=/dev/zero of=/alex/dbditte2.dat bs=1024 count=2000000
dd if=/dev/zero of=/alex/dbditte3.dat bs=1024 count=2000000
dd if=/dev/zero of=/alex/dbditte4.dat bs=1024 count=2000000
dd if=/dev/zero of=/alex/dbditte5.dat bs=1024 count=2000000
dd if=/dev/zero of=/alex/dbditte6.dat bs=1024 count=2000000
chown informix /alex/dbditte*.dat
chgrp informix /alex/dbditte*.dat
chmod 660 /alex/dbditte*.dat
su - informix
onspaces -a -d dbditte -p /alex/dbditte2.dat -o 0 -s 2000000
onspaces -a -d dbditte -p /alex/dbditte3.dat -o 0 -s 2000000
onspaces -a -d dbditte -p /alex/dbditte4.dat -o 0 -s 2000000
onspaces -a -d dbditte -p /alex/dbditte5.dat -o 0 -s 2000000
onspaces -a -d dbditte -p /alex/dbditte6.dat -o 0 -s 2000000
onstat -d
Looks like that's all you need and can do, because your /alex filesystem is
not empty. There is something useful on it, isn't it?
Best regards,
V.K.
Hi Valeriy
I have appreciate your helps
Best Regards,
Marco Dell'Oca
"Valeriy Kravchuk" <openxs@ipnet.kiev.ua> ha scritto nel messaggio
news:csrc07$15pf$1@news.dg.net.ua...
> Hi!
>
> > divvy -N -P /dev/rhd01
> > 0 0 2000000 alex HTFS
> > 7 0 13494599 hd01 WHOLE DISK
>
> > I know it, bat I need some more space. 10 gb on the partition
/dev/rhd01
> > will be OK.
>
> So, you have a HTFS filesystem mounted on /alex, this physically located
on
> /dev/rhd01, right? You would like to add 10Gb more to the dbditte dbspace.
> You have to add 5 chunks, 2 Gb each (it's Informix size limitation, at
> least, in your version).
>
> Let's extend my previous post to add 5 chunks:
>
> As root:
>
> dd if=/dev/zero of=/alex/dbditte2.dat bs=1024 count=2000000
> dd if=/dev/zero of=/alex/dbditte3.dat bs=1024 count=2000000
> dd if=/dev/zero of=/alex/dbditte4.dat bs=1024 count=2000000
> dd if=/dev/zero of=/alex/dbditte5.dat bs=1024 count=2000000
> dd if=/dev/zero of=/alex/dbditte6.dat bs=1024 count=2000000
> chown informix /alex/dbditte*.dat
> chgrp informix /alex/dbditte*.dat
> chmod 660 /alex/dbditte*.dat
> su - informix
> onspaces -a -d dbditte -p /alex/dbditte2.dat -o 0 -s 2000000
> onspaces -a -d dbditte -p /alex/dbditte3.dat -o 0 -s 2000000
> onspaces -a -d dbditte -p /alex/dbditte4.dat -o 0 -s 2000000
> onspaces -a -d dbditte -p /alex/dbditte5.dat -o 0 -s 2000000
> onspaces -a -d dbditte -p /alex/dbditte6.dat -o 0 -s 2000000
> onstat -d>
> Looks like that's all you need and can do, because your /alex filesystem
is
> not empty. There is something useful on it, isn't it?
>
> Best regards,
>
> V.K.
>
>
>
>
> I have appreciate your helps I just like Informix, and "good old" Unicies. V.K.
Related threads
- IDS 10 table-level restore
- Informix Development Webinar December 11, 2007
- ontape -p/r with changed ROOTPATH
- Migrate from HP PA-RISC to HP ITANIUM by ontape