1752595 Members
4489 Online
108788 Solutions
New Discussion юеВ

lvlnboot question

 
kamal_9
Super Advisor

lvlnboot question

Hi Everybody
Is it possible to revert back the lvln boot
for eg .i had given lvlnboot -r swap and lvlvnboot -r for root volumes it it possible to revert back
4 REPLIES 4
Hoefnix
Honored Contributor

Re: lvlnboot question

hi,

check manpage of lvrmboot

HTH,
Peter
Shaikh Imran
Honored Contributor

Re: lvlnboot question

hi,

Could you please further elaborate your doubt?
If possible mention the situation in which you want to do this.

More high level i think pvcreate could do it but if i am clear on what you are asking then is it ...
You create a lv on a disk & then used lvlnboot on the same & at the same time you want to use this lv as a filesystem keeping rest of the filesystems intact..
Pls revert back

Regards,

I'll sleep when i am dead.
Sunil Sharma_1
Honored Contributor

Re: lvlnboot question

Hi,

There is nothing like revert back.
You can re start like this


lvrmboot -r /dev/vg00

lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2

This will correct entries.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Shaikh Imran
Honored Contributor

Re: lvlnboot question

Hi,
Yes Peter is correct if i understood correctly what you want then
lvrmboot is the right thing you require.
Here is a small description of lvrmboot.

The lvrmboot command updates all physical volumes contained in the volume group vg_name such that the logical volume is removed as a root, primary swap, or dump volume when the system is next booted on
the volume group.

Regards,

I'll sleep when i am dead.