- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do you create a partition in HPUX?
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
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
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-22-2000 01:23 PM
08-22-2000 01:23 PM
How do you create a partition in HPUX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 01:24 PM
08-22-2000 01:24 PM
Re: How do you create a partition in HPUX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 01:46 PM
08-22-2000 01:46 PM
Re: How do you create a partition in HPUX?
lvcreate -L xxx -n partiton_name /dev/vg0x
where xxx is the size in MB of the partition. (see man lvextend for details).
That's it. You have your partition unused.
Via sam, it is possible as well, sam->disk and fs->logical volume. Go to action->create.
Choose the vg where to create it,In the new window, type the size, the name and under Usage [File System] highlight it and enter. Choose Raw (no fs, no swap). Go ok, ok, ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 09:58 PM
08-22-2000 09:58 PM
Re: How do you create a partition in HPUX?
unused disk.
# ioscan -fnC disk
# pvcreate /dev/rdsk/c2t1d1
(if you want to make volume group name vg01)
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgcreate /dev/vg01 /dev/dsk/c2t1d1
(if you want to make partition )
# lvcreate -L 350 /dev/vg01
?- Partition name is lvol1 by default
,350 MB
2. Make file system and Mount it.
# newfs -F hfs /dev/vg01/rlvol1
?-File system Type is hfs
: high perfomance file system
# mkdir /TEST
?-Mount Point Name is TEST
# mount /dev/vg01/lvol1 /mission1
?+ You should modify /etc/fstab automatic
mount at rebooting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 01:27 AM
08-23-2000 01:27 AM
Re: How do you create a partition in HPUX?
I suppose all sysadms create on demand the file systems asked but know also that data tend to grow, and keep some reserve as unused disk space, for with LVM vs old partitioning you cand extend your logical volume and so you filesystem using lvextend and extendfs commands.
So my advice is if ther is a need for a new file system, then go ahead, but try to keep some spare, remember that you can only extend within a same vg
Best regards
Victor