Enable or disable the Legacy Naming Model : How to ??

To disable the Legacy naming model of disk drives 

#rmsf -L
To enable the legacy naming model

 # insf -L

To find out which legacy DSF does /dev/rdisk/disk17 map?

 # ioscan -m dsf /dev/rdisk/disk17
 Persistent DSF           Legacy DSF(s)

 /dev/rdisk/disk17        /dev/rdsk/c6t0d0
                          /dev/rdsk/c5t0d0
                          /dev/rdsk/c7t0d0
                          /dev/rdsk/c8t0d0

To which persistent DSF does /dev/rdsk/c5t2d4 map?

 # ioscan -m dsf /dev/rdsk/c6t0d0
 Persistent DSF           Legacy DSF(s)

 /dev/rdisk/disk17        /dev/rdsk/c6t0d0



Migration from Legacy VG


vgdsf is a script to migrate a LVM volume group from legacy to agile naming model.

 # vgdsf

 USAGE: vgdsf {-a | -d | -c} vg_name
   -a - Add persistent DSFs to the volume group
   -d - Delete legacy DSFs from the volume group
   -c - Convert legacy DSFs to persistent DSFs (-a and -d)in the volume group

0 comments:

Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks