You can convert the /usr (UFS) file system on one disk to the equivalent
/usr (AdvFS) file system on a different target disk.
Needs:
UFS configuration
File system: /usr
Disk partition: /dev/rz3gAdvFS configuration
File system: /usr
Disk partition: /dev/rz2c
Mount directory: /usr.advfs
File domain: usr_domain
Fileset: usr
Conversion procedure:
root on the system that contains the /usr
file system # mkfdmn /dev/rz2c usr_domain
# mkfset usr_domain usr
# mkdir /usr.advfs
# mount -t advfs usr_domain#usr /usr.advfs
/usr directory
# cd /usr
UFS file system to the AdvFS file system
# vdump -0f - -D . | vrestore -xf - -D /usr.advfs
/etc/fstab and:
search for the entry that mounts /usr as UFS:
/dev/rz3g /usr ufs rw 1 2
replace the previous line with the AdvFS mount:
usr_domain#usr /usr advfs rw
/usr file system is ready to use