1834019 Members
2884 Online
110063 Solutions
New Discussion

reducing boot-disks

 
Konrad Hegner
Frequent Advisor

reducing boot-disks

Hello

lvlnboot -v shows me the following output:
....
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/0/2/0.0.0)
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c1t0d0 (0/0/1/1.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t2d0
/dev/dsk/c1t2d0
Root: lvol3 ...

Unfortunately is the c1t0d0 a zombie. I removed it with rmboot /dev/rdsk/c1t0d0 and I think it is also removed. Because I had checked the lifls /dev/dsk/c1t0d0 and they came a error-message (can't list ... not a LIF volume).

What I have to do, that the the 'lvlnboot -v' runs also without the c1t0d0?

Regards Konrad
5 REPLIES 5
S.K. Chan
Honored Contributor

Re: reducing boot-disks

You can delete your current lvlnboot definitions and recreate it. I've done this a few times in the past to fix my "messed up" lvlnboot output. First you got to find out which lvol is your "root","boot","primary swap" and "dump". Then do this ..
# lvrmboot -r /dev/vg00
# lvlnboot -b /dev/vg00/lvol1
==> Boot LV is lvol1 (/stand)
# lvlnboot -r /dev/vg00/lvol3
==> Root LV is lvol3 (/)
# lvlnboot -s /dev/vg00/lvol2
==> Primary swap LV is lvol2 (from swapinfo)
# lvlnboot -d /dev/vg00/lvol2
==> Dump space is also the primary swap.
# lvlnboot -R /dev/vg00

Now check it again ..
# lvlnboot -v

Jean-Louis Phelix
Honored Contributor

Re: reducing boot-disks

Hello,

You could try a lvlnboot -R. If it doesn't work, try to delete and recreate all the boot info (lvrmboot -r then lvlnboot -b, -r, -s, -d)

Regards,

Jean-Louis.
It works for me (© Bill McNAMARA ...)
Ashwani Kashyap
Honored Contributor

Re: reducing boot-disks

Konrad Hegner
Frequent Advisor

Re: reducing boot-disks

S.K.Chan: Thank you, but it is stil there ;-(

Jean-Louis: Thank you, but it is stil there ;-(

Ashwani: This is not the problem, but the disk isn't a 'ghost'. The disk is only a application-disk.

Also a reboot doesn't help.
BKUMAR
Frequent Advisor

Re: reducing boot-disks

check for the following

lvdisplay -v /dev/vg00/lvol1 | more
lvdisplay -vk /dev/vg00/lovl1 | more
check for the disk key to be removed

lvreduce -m 0 -k /dev/vg00/lvol1 ? ?

? ? unwanted boot disks

Take care !

hth

Unix Administration Most Dedicated and Challenging Career in the World