HPE EVA Storage
1825199 Members
4643 Online
109679 Solutions
New Discussion

Incresing the size of a Vdisk in Solaris 8

 
SOLVED
Go to solution
Victor Barrionuevo
Occasional Contributor

Incresing the size of a Vdisk in Solaris 8

Hello

I have a question to some guru´s in EVA 500.
I have a Sun Solaris box attached to my EVA 5000 and I created a Vdisk of 50 GB an present. The disk work very fine for almost a year but the last mount it started to fill and we need to incress the size of the disk.

My question is : Could I have increase the size of the Vdisk in the EVA Command View to 100 GB and presents the Vdisk with out lose data?

The second questions is: I have probed with a test Vdisk (empty)which are incresed in the EVA but in Solaris they continue showed me the old size. Which is the procedure to do that?

There is some documentation in order to perform this activity?

Please, any sugestion are welcom
7 REPLIES 7

Re: Incresing the size of a Vdisk in Solaris 8

Hi Victor

For Question 1 : Which FSType do you have ?
If ufs it cannot , the result is same as your second question

For Question 2 : It need to make new filesystem to support incresed volume
Zinky
Honored Contributor

Re: Incresing the size of a Vdisk in Solaris 8

Victor,

Only Tru64 and VMS environments support Vdisk expansion. All other operating systems do not support underlying LUN expansion translating to an increase in the volume management unit and/or filesystem.

However, once Solaris 10's ZFS comes out.. it may probably provide support.
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Sheldon Smith
HPE Pro

Re: Incresing the size of a Vdisk in Solaris 8

Don't know if this helps or not, but: In the "Installation and Configuration Guide -- hp StorageWorks Sun Solaris Kit V3.0B for Enterprise Virtual Array", have you looked at the section (at end of document) on "Expanding Volumes"?

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company

Accept or Kudo

Lan_4
Advisor
Solution

Re: Incresing the size of a Vdisk in Solaris 8

Yes, You can grow ufs filesystem in Solaris.
I did a lot under solaris 9, not sure for solaris 8. You can try it on your testing LUN.

1. On EVA5000, increase the size of the vdisk
(You did it already.)

2. on the solaris host, umount the file system,
e.q. /mnt
3. run "format" utility
in format selected type 0 again and repartitioned the slice that you need increas with all of the disk space. When finish, relabel the disk. (This step won't impact
the data on your disk.)
4. Don't newfs, that will wipe your data.
5. mount the filesystem back /mnt
6. run
growfs -M /mnt /dev/rdsk/cxtxdxsx
(dependon your device's name.)

Victor Barrionuevo
Occasional Contributor

Re: Incresing the size of a Vdisk in Solaris 8

Thank for your advice, but I have some little problems.

First, after select format and type disk to 0, I am going to partitions options and I select print and the firts differene is that the whole space has been asigned to my slice. So, I only accept and label the partition, and go out.

Second, When I try to mount againg the volumen with the command "mount /dev/dsk/c3t0d1s6 /MNT_POINT" it display me the next message:

"mount: /dev/dsk/c3t0d1s6 is not this fstype."

So, I can continue with the command growfs.

I have checked the command growfs in Solaris and it is available, and I think that I can use if I can remount the disk againg.

I think that the problem is when I went to the "format" command and select the type of the disk againg. What do you think?
Victor Barrionuevo
Occasional Contributor

Re: Incresing the size of a Vdisk in Solaris 8

I have tryed againg and I have probed a little modfification in the "format" command and work very well.

I am going to describe my solution in order that some one could use it:

- type "format"
- Select "type"
- Selected the same type of the disk before increase the size
- Select "type" againg
- Selected "0" to automatic reconfigure
- Select "partitions"
- Select "print"
- Select "label" answer "yes"
- Quit from the format command

After that I will continue with your procedure and everything is well.

I am very happy because I am lossing the hope to do this activity on Solaris.

Thanks, againg.

Regards,
VIctor

Victor Barrionuevo
Occasional Contributor

Re: Incresing the size of a Vdisk in Solaris 8

Thanks for your advices