HPE EVA Storage
1823195 Members
3577 Online
109648 Solutions
New Discussion юеВ

Re: expanding lun on sun solaris online on a san

 
Bryan van Ritter
New Member

expanding lun on sun solaris online on a san

we've got the following problem:

we've just purchased a san and now we're trying to expand a lun on a sun solaris(8)
system online. the only option we've come to yet is to unmount the disk and than expand it, but our problem is that in our environment it not an option to unmount the disk first. so if there is someone who can help us with this problem pleas do so by giving us the solution step by step on how to expand a lun online on a sun solaris(8) system.

thanks
6 REPLIES 6
Rodolfo Levy
New Member

Re: expanding lun on sun solaris online on a san

You can't. With that said, let me explain.

Say you have a 50GB LUN on the SAN, which you have presented to Solaris.

Now you need to double the capacity for that LUN to 100GB.

If you have an EVA, you have the ability to increase the LUN size on the EVA online.

However, Solaris still sees 50GB for that device. In order to expand that device (ie. c2t0d0) you would have to run a "newfs" which in turn, wipes out all your data on that device.

Remember, Solaris must see the full capacity of the device when it writes it's signature on the disk.

Therefore, if you are using Veritas Volume Manager and want to expand a 100GB volume which is only using 50GB, you can use the "vxassist" command to grow the file system from 50GB to 100GB.

Hope this helps.
Uwe Zessin
Honored Contributor

Re: expanding lun on sun solaris online on a san

The 'Installation and Configuration Guide - hp StorageWorks Sun Solaris Kit V3.0B for Enterprise Virtual Array' (Part Number: AA-RUH4B-TE), describes a method to expand a volume using the 'growfs' command.

However, this requires an unmount of the filesystem in question, first. Then you increase the virtual disk on the EVA, run 'growfs' and finally mount the filesystem again.

I know that this is not what Bryan likes to hear, but I don't have a solution, either, sorry.
.
Mohamed Osman
New Member

Re: expanding lun on sun solaris online on a san

I think version 4 of VxVM (newly released) supports expanding the file systems w/o un-mounting first.

Also, rather than expanding the lun - why not create and a new lun, expand the volume and then the file system w/o doing any umount.



Mohamed
Karthik S S
Honored Contributor

Re: expanding lun on sun solaris online on a san

Hi,

You can also use Solstice disksuite. For a quick start on DS,

http://www.adminschoice.com/docs/solstice_disksuite.htm

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Sunil Sharma_1
Honored Contributor

Re: expanding lun on sun solaris online on a san

Hi,

If you can give some more information about your setup i think i can help you batter.

You can grow a UFS filesystem using growfs command same as we do with extendfs in HP.

give some more info like what SAN you are using ? how you are adding extra space ? and whihc volume manager you are using ?

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Alexandr_12
New Member

Re: expanding lun on sun solaris online on a san

Sorry for my english.
It is work:

1. umount /etc/mnttab (for work format)
2. format. Select your device (from SAN)
3. Type->Auto Configure. You get new geometry.
4. edit partitions and write label (label)
5. growfs -M /mnt_point /dev/rdsk/cxtxdxsx
6. df -kl
7. mount -F mntfs /etc/mnttab /etc/mnttab (back )

good luck.