# mount -F vxfs /dev/dsk/c1t12d0s1 /vol01 Replace it with an entry for the newly created partition. dev/vx/dsk/voldg/vol1 /dev/vx/rdsk/voldg/vol1 /vol1 vxfs 4 yes rw In the /etc/vfstab file, remove the following entry. Total disk cylinders available: 13814 + 2 (reserved cylinders)ġ unassigned wm 0 - 3236 2.00GB () 4195152Ĭopy the data on vol01 to the newly created disk partition. Label - write partition map and label to the diskĮnter partition size: 2.00gb Modify - modify a predefined partition table Inquiry - show vendor, product and revision Save - save new disk/partition definitions Partition - select (define) a partition table In this example, a 2G partition is created on disk1 ( c1t12d0s1). Read/write/setuid/log/nolargefiles/dev=12dc138 on Wed AprĬreate a partition on free disk space of the same size as the volume. # vxdisk -g voldg listĬheck to see whether the volume you want to move first is mounted. Verify that the evacuated disks have been removed from VxVM control. Remove the evacuated disks from VxVM control. # /etc/vx/bin/vxevac -g voldg disk2 disk3 # /etc/vx/bin/vxevac -g voldg disk1 disk3 Pl pl1 vol1 ENABLED ACTIVE 4196448 CONCAT - RW V vol1 - ENABLED ACTIVE 4196448 ROUND - fsgen SD NAME PLEX DISK DISKOFFS LENGTH OFF DEVICE MODE PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE RL NAME RVG KSTATE STATE REM_HOST REM_DG REM_RLNK RV NAME RLINK_CNT KSTATE STATE PRIMARY DATAVOLS SRL These are the contents of the disk group voldg before the data on vol01 is copied to disk3. The data on vol01 is copied to disk3 using vxevac. In the example, there are three disks: disk1 and disk2 are subdisks on volume vol01 and disk3 is a free disk. This example shows how to move the data on a volume to a disk partition.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |