Generally its virtual hard disk naming convention is like below. And click on the advance hard disk setting and check its virtual disk node. Go to your virtual machine setting as shown below. Now as your disk has been removed from UNIX/Linux server without reboot, its time to remove the VMDK hard disk from virtual machine settings also.Ħ. Where sdx is any disk which you want to remove.Ĭonfirm by fdisk -l command and you can also compare with output of earlier taken fdisk command as shown below. Now use below command to remove block device which will remove the device from your UNIX/LINUX machine. Recommended Article: Understanding Concept of Striping, Mirroring & Parityĥ. You can see above mentioned steps in above image. Once you have remove the PV from volume group, you can now reduce physical volume. Where vg1 is the name volume group and /dev/dsb is PV.Ĥ. If you have a separate VG from the physical volume (PV) that you want to remove, then you can directly remove the VG. If the disk in Volume group and you have created a logical volume, then remove that logical volume (LV) and then reduce your volume group (VG). If you are getting device is busy error while unmounting filesystem, then use below command. If the disk you want to remove is used by the filesystem then you will have to un-mount it first. The next important step is to unmount the filesystem. First of all take output of fdisk command and save it. Steps to Remove VMDK disk from Virtual Linux/Unix Serverġ. Note: Do take backup before removing any disk Suppose you have to remove /dev/sdc but you removed /dev/sdb from virtual machine settings, then there can be a major outage in your environment and you will see lots of input/output errors. Whatever may be the reason, removing disk properly and safely without touching any data is very important. Server going to retire soon and disk need to be reclaimed and should be returned to storage pool.
0 Comments
Leave a Reply. |