To turn a volume from gen to fsgen

How to turn a volume from gen to fsgen? Why should one do that?

E

Expert

Verified

To turn a volume from gen to fsgen

1) #vxprint -g dgname -rhmvps filename >

filename.vxoutput

2) open the file simplevol.vxout by using your fav editor and modify the use_type field alone from gen to fsgen.

3. Save the file. Ensure you edit the use_type field alone

4. Umount the filesystem; umount /simplevol

5. Stop the volume; vxvol -g dgname stop simplevol

6. Eliminate the volume; vxedit -g dgname -rf rm simplevol

7. By using vxmake reconstruct the volume from the saved file ;

vxmake -g dgname -d simplevol.vxout

8. Verify the vxprint out; vxprint -g dgname -hrt ;

 Verify for the usage type; it would be fsgen

9. Begin the volume; vxvol -g dgname start simplevol

10. Do a fsck for the volume; fsck -y /dev/vx/rdsk/dgname/simplevol

11. mount the filesystem ; mount /simplevol gen assumes a volume does not have filesystem and fsgen  suppose a volume contains a file system. Vxassist employ fsgen as default type and vxmake employ gen as default type.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.