Operating System - Tru64 Unix
1752809 Members
6218 Online
108789 Solutions
New Discussion юеВ

Increase size of file system

 
R.O.
Esteemed Contributor

Increase size of file system

Hi,

I am a HPUX system administrator and I have to increase the size of a file system in a Tru-64 system. What I see is:

$ df -k .
Filesystem 1024-blocks Used Available Capacity Mounted on
dat_domain#dat 512000 85107 370736 19% /opt/dat

Firstly, I want to know if I have enough space available and secondly I need the procedure to increase the size of this FS.

Thanks in advance and regards,
"When you look into an abyss, the abyss also looks into you"
12 REPLIES 12
Venkatesh BL
Honored Contributor

Re: Increase size of file system

> Firstly, I want to know if I have enough space available

Where? on the system or the file system?


> secondly I need the procedure to increase the size of this FS.

Since the file system is under "dat_domain" AdvFS domain, you can add a free disk/disk partition to it using the 'addvol' command:
# addvol /dev/disk/ dat_domain
[example: addvol /dev/disk/dsk5c dat_domain]
Note:
1) You need license to use 'addvol'. Check if you have it (by running the command)
2) You can add the volume when the file system is online. No need to unmount the file system.
Mark Poeschl_2
Honored Contributor

Re: Increase size of file system

The licensing command that BL meant to include is:
# lmf list full for ADVFS-UTILITIES

Also, if you don't happen to have a free partition that you can use 'addvol' on, some of the newer storage arrays support enlarging the disks presented to the OS. Tru64 then supports changing the disklabel of the existing disk on the fly and voila - your domain and all filesets in the domain - are bigger.
Manish PATHAK_2
Regular Advisor

Re: Increase size of file system

Hi,

You can add new HDD if you have expansion space available and add the new HDD in the existing domain.

Alternatively you can add the slice from some other free HDD Available.

Can you send me output of volume and domain for the one that you want to expand...

if my suggestion will be ok with you please let me know and i will send you the detailed procedure for the same.

Regards
Manish Pathak
R.O.
Esteemed Contributor

Re: Increase size of file system

Hi,

Thank you all for your responses. Manish, I am used to working with HPUX and I don├В┬┤t know anything about Tru 64... Please, tell me what comands I have to execute to give you the info you are asking me for...

Regards,
"When you look into an abyss, the abyss also looks into you"
Mark Poeschl_2
Honored Contributor

Re: Increase size of file system

Commands (assuming you're on Tru64 5.x):

# hwmgr -view device | grep disk
# ls -lR /etc/fdmns
For each disk device in the output of 'hwmgr':
# disklabel -r /dev/rdisk/dsknnc
(Note the insertion of the 'r' in rdisk in this command.)
Manish PATHAK_2
Regular Advisor

Re: Increase size of file system

Hi please run the commands as suggested by mark apart from that also run the following command and post the output.

df -kh
voldisk list
volinfo
voldg list

and also specify in "df -k" which parttion you need to extend.

Regards
Manish
R.O.
Esteemed Contributor

Re: Increase size of file system

Hi,

Attached is the info you asked me. Thank you very much for your help !!

Regards,
"When you look into an abyss, the abyss also looks into you"
Manish PATHAK_2
Regular Advisor

Re: Increase size of file system

Do you have error in some disk or some other problem why the vold daemon is not running...

can you check it and then run the command

voldisk list & df -kh

Also let me know in which domain you want to add new HDD "Shared or Local".

Regards
Manish
Venkatesh BL
Honored Contributor

Re: Increase size of file system

Manish,

I don't think vold would be running if the user has not configured LSM on the system.