1753815 Members
7853 Online
108805 Solutions
New Discussion юеВ

Dynamic Root Disk

 
SOLVED
Go to solution
FOBF
Frequent Advisor

Dynamic Root Disk

Hello,

I made a DRD and i think there was a mistake in the creation time, i want to release the disk from DRD but i can not make the task.
i used drd umount, vgremove, from SAM and it's imposible.

Any help

Thanks
4 REPLIES 4
melvyn burnard
Honored Contributor

Re: Dynamic Root Disk

what do you mean "release the disk from the DRD"?

If you wish to use it for something else, just see if the drdvg is in lvmtab, and if so export it, then use pvcreate -f on the disk to re-use it elsewhere
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
FOBF
Frequent Advisor

Re: Dynamic Root Disk

he burnard

yes, i want to re-used it, to break the clone between disks, I tried to run vgexport and pvcreate on the disk but it's still in /etc/lvmtab.


VK2COT
Honored Contributor
Solution

Re: Dynamic Root Disk

Hello,

If I understand your question correctly, you
want to "undo" the DRD setup and start again.

Here is how to do it (of couyrse, firstly
you make sure that "drd umount" is run):

# lvrmboot -s drd00
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvremove -f /dev/drd00/lvol2
Logical volume "/dev/drd00/lvol2" has been successfully removed.
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvrmboot -d lvol3 /dev/drd00
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvremove -f /dev/drd00/lvol3
Logical volume "/dev/drd00/lvol3" has been successfully removed.
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvrmboot -r drd00
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

# lvremove -f /dev/drd00/lvol4
Logical volume "/dev/drd00/lvol4" has been successfully removed.
Volume Group configuration for /dev/drd00 has been saved in /etc/lvmconf/drd00.conf

(truncated for other logical volumes
the sake of brevity)...

# vgremove drd00
Volume group "drd00" has been successfully removed.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
FOBF
Frequent Advisor

Re: Dynamic Root Disk

It's works, thanks Dusan.