Create a new filesystem:
(A new filesystem will require a new logical volume)
(A new filesystem will require a new logical volume)
- Create the Logical Volume (Procedure Below)
- Create the File System
- Using newfs:
- newfs -F <filesystem_type> <path_to_lvol_devicefile>
- newfs -F vxfs /dev/vg02/lvol1
- Using mkfs:
- mkfs -F <FILESYSTEM TYPE> -o bsize=<OPTIONS>,<OPTIONS> <PATH TO LV>
- -F is filesystem type, such as vxfs for the Veritas File System or JFS
- -o are options, such as bsize (Block Size) and largefiles.
- Path to LV is of the form /dev/VGNAME/LVNAME
- For example: "mkfs -F vxfs -o bsize=8192,largefiles /dev/bgbill/lvbill"
- Create the Mount Point
- mkdir -p <full path to mountpoint>
- -p will make any subdirectories in the path that do not already exist
- Set the proper ownership and permissions on the mount point
- chown owner:group /<mount point>
- chmod XXX /<mount point>
- Mount the File System
- Edit /etc/fstab using vi and add the proper entry
- <LV PATH> <MOUNTPOINT PATH> <FILESYSTEM> <OPTIONS> <BACKUP FREQUENCY> <PASS NUMBER>
- For example: "/dev/vgbill/lvbill /maindir/subdir/share vxfs rw,suid,largefiles,delaylog,datainlog 0 2"
- "mount /<mountpoint>" to mount the file system
- Edit /etc/fstab using vi and add the proper entry
- Test
- Do a "bdf <mount point>". This command will show if the file system is mounted, and it's size.
- Do an "ls -ld <mount point>" to verify that the proper permissions are there.
- Have the user test the filesystem, and report back with any problems
3 Comments
FB61E970
ReplyDeletebalıkesir esçort
siverek esçort
manisa esçort
tire esçort
ergani esçort
bandırma esçort
kastamonu esçort
esçort edirne
esçort amasya
6108D778
ReplyDeleteEzine
Menemen
Bala
Serik
Erbaa
Burhaniye
Elbistan
Susurluk
Güzelbahçe
E4F8B0C8
ReplyDeleteSusurluk
Nilüfer
Canik
Altınova
Saray
Kiraz
Kepez
Anamur
Nazilli