Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Increasing SAN VDISK size, How do I grow filesystem

SOLVED
Go to solution
J Peak
Frequent Advisor

Increasing SAN VDISK size, How do I grow filesystem

We have an EVA 8000 attached to a Tru 64 Unix system. I'd like to increase the size of the existing Vdisk presented to the system and then extend the filesystem. Can this be done or do I have to create another Vdisk and add that volume to the domain and fileset, then increase the filesystem size?

Currently the domain has one fileset with one block device in it.

Sizer -v output
Compaq Tru64 UNIX V5.1B (Rev. 2650); Tue Apr 11 20:45:21 EST 2006

dupatch -track -type kit output
- T64V51BB26AS0005-20050502 OSF540

Thanks for any help. I show appreciation by rating responses 8-) ( bribery helps right? )

7 REPLIES
Rob Leadbeater
Honored Contributor
Solution

Re: Increasing SAN VDISK size, How do I grow filesystem

Hi,

Yes you can do this...

1. Extend the Vdisk.
2. When Vdisk expansion completes, scan the scsi bus: hwmgr scan scsi
3. Relabel the disk: disklabel -rw dskX
4. mount -u -o /file_system

There are a few cavets to that.

1. You must have the ADVFS Advanced Utilities license.
2. That procedure assumes you're using the whole disk (the c partition).
3. Maximum volume size on Tru64 is 1TB.

Hope this helps,

Regards,

Rob
Rob Leadbeater
Honored Contributor

Re: Increasing SAN VDISK size, How do I grow filesystem

Sorry, step 4 should say:

mount -u -o extend domain#fileset /filesystem

as detailed in the man page for mount.

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN8/0418____.HTM

Cheers,

Rob
Ivan Ferreira
Honored Contributor

Re: Increasing SAN VDISK size, How do I grow filesystem

The Rob procedure is correct, but I don't run hwmgr scan scsi, and save a copy of the label just in case. So, what I do is:

- Extend the vdisk
- Identify the disk that correspond with the domain
# showfdmn domain_name
- Save a copy of the current label:
# disklabel -r dsk > dsk.label
- Once the extension is complete run:
# disklabel -rw dsk
- Extend the File System
# mount -u -o extend /mount_point
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Hein van den Heuvel
Honored Contributor

Re: Increasing SAN VDISK size, How do I grow filesystem

Be sure to check out the recent parallel topic:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1200840

fwiw,
Hein.
J Peak
Frequent Advisor

Re: Increasing SAN VDISK size, How do I grow filesystem

Thank you SO much for all the great replies. This is terrific information. I have only two small follow-up questions.

How can I tell if I have the ADVFS Advanced utilities installed, and if I don't, how would the procedure differ?

Thank you again.
J Peak
Frequent Advisor

Re: Increasing SAN VDISK size, How do I grow filesystem

Here is the output of setld:
$ setld -i | grep -v "not installed" | grep -i advfs
OSFADVFS540 installed AdvFS Commands (System Administration)
OSFADVFSBIN540 installed AdvFS Kernel Modules (Kernel Build Environment)
OSFADVFSDAEMON540 installed AdvFS Daemon (System Administration)
OSFPAT02600200540 installed Patch: SP05 OSFADVFS540 (SSRT2275) (Filesystem Patches)
OSFPAT02600300540 installed Patch: SP05 OSFADVFSBIN540 (Filesystem Patches)
OSFXADVFS540 installed AdvFS Graphical User Interface (System Administration)
jim owens_1
Valued Contributor

Re: Increasing SAN VDISK size, How do I grow filesystem

The command to check the license is:

# lmf list

look for:

ADVFS-UTILITIES active