Forum Discussion

Raj1986's avatar
Raj1986
Level 2
15 years ago

Root disk encapsulation problem in VXVM on solaris 10

Select disk devices to encapsulate: [<pattern-list>,all,list,q,?] list DEVICE       DISK         GROUP        STATUS c0t0d0       -            -            online invalid c2t0d0   ...
  • g_lee's avatar
    15 years ago
    From VxVM Admin Guide (Solaris 5.0MP3)
    --------------------
    To prevent the encapsulation from failing, make sure that the following conditions apply:
    • The disk has two free partitions for the public and private regions.
    • The disk has an s2 slice.
    • The disk has a small amount of free space (at least 1 megabyte at the beginning
    or end of the disk) that does not belong to any partition. If the disk being encapsulated is the root disk, and this does not have sufficient free space available, a similar sized portion of the swap partition is used instead.
    --------------------

    The last point appears to be the problem here - from the output there are no spare sectors - 0 is being used by s8, 1-2 by s9, remaining (3-1562) by s0.

    Either get rid of s9 or free up at least a sector from the end of s0 (if shrinking s0 would obviously also need to shrink the filesystem first)