HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to remove a physical disk

 
taouw
Frequent Advisor

how to remove a physical disk

Can anyone help me to remove a disk, mounted in /data2, without mirroring.
3 REPLIES
Torsten.
Acclaimed Contributor

Re: how to remove a physical disk

Just remove?

Umount the file system, remove the entry from fstab, delete LV and VG.

Consider to use SAM for this.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sajjad Sahir
Honored Contributor

Re: how to remove a physical disk

1)please Backup all data
2) Umount the filesystem
umount /data2
3) remove the Logical volume
lvremove /dev/vg01/lvname
u should be sure that the disk is not in use:
pvdisplay /dev/dsk/c#t#d#
Look at line starting with Allocated PE the number at the end
of the line should be 0. If it is not the disk is still in use.
2) Remove the disk
vgreduce /dev/vg01 /dev/dsk/c1t6d0
If you are using single pv in VG then u can export it to remove from vg.But it should be deactivate first.
#vgchange -a n vgname
#vgexport vgname

thanks and regards

Sajjad Sahir
Suraj K Sankari
Honored Contributor

Re: how to remove a physical disk

Hi,
Read the attached file When_Good_Disks_Go_Bad.pdf

Suraj