How to create a filesystem

quinta-feira, 29 de dezembro de 2011

Creating a filesystemYou can do that through the sam (logical volumes) or command line

Create the mount point
# mkdir path_of_your_mount_point

Create a logical volume
lvcreate -m 1 -L size(in MB) -n lvname VG
Use "-m 1" if you have a mirror.

Format the fs using vxfs
# newfs -F vxfs [ -o largefiles ] /dev/vg00/rnome  (use the raw name)
Use "-o largefiles" if you need create files greater than 2gb.

Mount the fs
# mount /dev/vg/lvname /mount_point
Add this filesystem on fstab using mount options as necessary for you.