New FS creation + HPUX
Here we are creating a new FS of name /oracle/BMW/sapdata01 of 32 GB in existing VG vg02
1. Create a logical volume
#lvcreate -L -n [LV Name] [VG Name]
#lvcreate -L 32768 /dev/vg02
2. Create new FS metadata structure
#newfs -F vxfs -o largefiles [raw LV Name]
#newfs -F vxfs -o largefiles /dev/vg02/rlvol1
3. Edit the /etc/fstab file
#vi /etc/fstab
/dev/vg02/lvol01 /oracle/BMW/sapdata01 vxfs log,nodatainlog,largefiles,rw,suid 0 2
4. #mount -a
2. Create new FS metadata structure
#newfs -F vxfs
#newfs -F vxfs -o largefiles /dev/vg02/rlvol1
3. Edit the /etc/fstab file
#vi /etc/fstab
/dev/vg02/lvol01 /oracle/BMW/sapdata01 vxfs log,nodatainlog,largefiles,rw,suid 0 2
4. #mount -a
Thanks...
Kiran Jadhav
**Let's Share our knowledge and keep visiting here**
No comments:
Post a Comment