- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- creating new file system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 07:57 AM
тАО08-30-2006 07:57 AM
creating new file system
i want to create new file system's on my new HP-UX boxes. Please give me the brief steps how to do that.
Thnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 08:02 AM
тАО08-30-2006 08:02 AM
Re: creating new file system
While I prefer using the LVM commands, I would suggest that you use SAM until you understand the paths involved.
A summary of LVM commands and their use can be found in the 'lvm(7)' manpages.
http://docs.hp.com/en/B2355-60127/lvm.7.html
A much more detailed discussion about setting up LVM and filesystems is covered here:
http://docs.hp.com/en/B2355-90950/index.html
Even if you elect to use SAM, I urge you to read the aforementioned documents.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 08:02 AM
тАО08-30-2006 08:02 AM
Re: creating new file system
lvcreate -L (size) -n (logical volume name) vg??(volume group name)
newfs -F vxfs -o largefile /dev/vg??/lvol??
mkdir ???
mount -F vxfs /dev/vg??/lvol?? /(new mount point)
add entry /etc/fstab
or just use sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 08:02 AM
тАО08-30-2006 08:02 AM
Re: creating new file system
lvcreate -n logicalvolumename vg##
lvextend -L size in M /dev/vg##/logicalvolumename
newfs -F vxfs /dev/vg##/rlogicalvolumename
# extend existing extendfs /dev/v##/rlogicalvolumename
I believe you used my mail form to contact me on a SG issue. The email address you used was not valid and I was unable to reply. If I am correct, please try again.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 08:05 AM
тАО08-30-2006 08:05 AM
Re: creating new file system
1) Create a new LVOL using lvcreate (or dedicate an entire disk to a filesystem).
e.g. lvcreate -L 512 -n lvol4 /dev/vg02
2) newfs -F vxfs /dev/vg02/rlvol4
3) Create a mountpoint
e.g. mkdir /mickey
4) Create an /etc/fstab entry:
/dev/vg02/lvol4 /mickey vxfs rw,suid,delaylog 0 2
5) mount /mickey
OR use SAM -> Disks and Filesystems to do all of these tasks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2006 08:40 AM
тАО08-30-2006 08:40 AM
Re: creating new file system
Command line is best option to create.
1. Initialize disk using pvcreate command
2. mkdir /dev/vgname
3. mknod /dev/vgname/group c 64 0x??0000
where ?? - minor number and shouldn't be used. you can check using ll /dev/vg*/group
4. vgcreate /dev/vgname physical volume1 ..
5. lvcreate -L new size /dev/vgname
6. newfs -F vxfs -o largefiles /dev/vgname/rlvol??
7. mkdir /mountpoint
8. add entry into /etc/fstab
/dev/vgname/lvol?? /mountpoint vxfs delaylog 0 2