Disk Enclosures
1834149 Members
2807 Online
110064 Solutions
New Discussion

Re: adding a disk to an Autoraid unit

 
SOLVED
Go to solution
A. Clay Stephenson
Acclaimed Contributor

Re: adding a disk to an Autoraid unit

You are correect, I somehow counted 12 disks instead of 11. You will get almost the full 18GB's and an additional 18GB's if you turn off Active Hot Spare BEFORE creating (BIND'ing) the new LUN.
If it ain't broke, I can fix that.
Scott Dunkley
Regular Advisor

Re: adding a disk to an Autoraid unit

Thanks all, very informative.
Better to regret something you have done, than something you havn't
Scott Dunkley
Regular Advisor

Re: adding a disk to an Autoraid unit

Sorry to bring this to the top but i am in the middle of attempting this.

I have allocated the new disk space to a new LUN. I now want to extend a VG but the VG is a shared clustered VG (distributed). I have tried undistributing the VG but it says it needs to be deactivated first which means down time.

is there anyway to do this on the fly?
Better to regret something you have done, than something you havn't
Karthik S S
Honored Contributor

Re: adding a disk to an Autoraid unit

Scott,

What do you mean by

"I have tried undistributing the VG but it says it needs to be deactivated first which means down time."

??

You can extend a VG when it is online using vgextend command

ex:
pvcreate /dev/rdsk/cxtxdx (path of the new lun)
vgextend vgname /dev/rdsk/cxtxdx

However if you need to extend a LV or filesystem you need to have OnlineJFS in order to do it on the fly ..

-Karthik S S

For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Scott Dunkley
Regular Advisor

Re: adding a disk to an Autoraid unit

Yeah I sorted it after I had posted. I was trying to extend the VG using SAM and thats when it came back with the message about not being able to extend the VG as it is distributed. So I tried to undistribute it using SAM and got the message about deactivation.

So.... I tried it on the command line and it worked fine.

Thanks for your help.
Better to regret something you have done, than something you havn't
Scott Dunkley
Regular Advisor

Re: adding a disk to an Autoraid unit

got another issue with this now.

I have created a new VG with the new LUN. Then created a couple of file systems which I am exporting to the 2nd node in a cluster.

VGexport worked fine, but the vgimport is failing on the second node. When I do an IOSCAN the PV's dont have a /dev/dsk device file only the /dev/rdsk file. I guess this is why the vgimport if failing with the message: PV is not a block special file
couldnt access list of PV's for...

How do I get the newly created PV's (LUN) to show up correctly on the second node?
Better to regret something you have done, than something you havn't
Karthik S S
Honored Contributor

Re: adding a disk to an Autoraid unit

got another issue with this now.

I have created a new VG with the new LUN. Then created a couple of file systems which I am exporting to the 2nd node in a cluster.

VGexport worked fine, but the vgimport is failing on the second node. When I do an IOSCAN the PV's dont have a /dev/dsk device file only the /dev/rdsk file. I guess this is why the vgimport if failing with the message: PV is not a block special file
couldnt access list of PV's for...

How do I get the newly created PV's (LUN) to show up correctly on the second node?

Scott,

On the second node do a,

ioscan -fnC disk
insf -e -C disk

Now you should be able to see the new device files.

on second node,
mkdir /dev/vg_name
cd /dev/vg_name
mknod group c 64 0x0n0000
(n should be unique and should match node1's group file)
vgimport -v -m mapfile vg_name /dev/dsk/cxtxdx

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

Re: adding a disk to an Autoraid unit

Scott,

Sorry about that .. I had pasted your original post with the reply by mistake ... :-(

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Scott Dunkley
Regular Advisor

Re: adding a disk to an Autoraid unit

thanks Karthik, it was the insf I had forgotten, rest has worked fine.
Better to regret something you have done, than something you havn't