- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: partitioning a disk without LVM?
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
10-23-2000 03:17 PM
10-23-2000 03:17 PM
partitioning a disk without LVM?
Bobby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 10:37 PM
10-23-2000 10:37 PM
Re: partitioning a disk without LVM?
in my knowledge partitioning of disks is discontinued after HP-UX 9.x
Why do you mean that lvols have only raw devices ?
When you look at /dev/vgXX there are ie:
/dev/vgXX/lvol1 as a block devices
and
/dev/vgXX/rlvol1 as a raw device
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 01:05 AM
10-24-2000 01:05 AM
Re: partitioning a disk without LVM?
In serie 800 from from HPUX 9.04 the default was LVM (HFS). You could still ask for an no lvm system, but from HPUX 10.XX it was not possible (I think only the serie 700 were still able but not sure).
Anyway its a long time back but if I remember right you could not mix both just like that since you had to select WHAT you were going to do with your disk:LVM or Disk section.
You had to go in /etc/disktab mabe had to run mediainit... or choose to add the disk to a volume group...
I just looked in sam it offers you 3 choices for you logical volume:
Filesystem
Swap
Raw
Whats wrong with the Raw you see there?
Best regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 06:42 AM
10-24-2000 06:42 AM
Re: partitioning a disk without LVM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 07:07 AM
10-24-2000 07:07 AM
Re: partitioning a disk without LVM?
When you use LVM you must forgot disk partition. Its is not comparable, even talking about disks.
LVM let you reserve some space from one or more than one disk, LOGICAL PARTITIONS.
It not true lvcreate give you only raw partition, it gets you both block and raw partitions, special files better.
do
ll /dev/yourvg and you will see pairs of special files:
crx-rx--rx ........ group
brx.................lvol1
crx.................rlvol1
lvol1 and rlvol1 points to same disk space using block access or raw access.
You dont need use a lvol for fs and raws, just define two lvols.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2000 02:49 PM
10-25-2000 02:49 PM
Re: partitioning a disk without LVM?
Using LVM, you SHOULD get both a block and character device file for each logical volume:
# pvcreate -f /dev/rdsk/c0t5d0
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# lvcreate -n partition1 -L 100 vg01
# lvcreate -n partition2 -L 100 vg01
You may need to use a different minor number for the mknod command to avoid duplicating a minor number already in use by another volume group (see which ones are already in use by doing an ll /dev/*/group). You will probably want to adjust the logical volume sizes, too, by adjusting the number following the -L.
In any case, you should end up with 4 logical volume device files:
/dev/vg01/partition1 (block)
/dev/vg01/rpartition1 (raw)
/dev/vg01/partition2 (block)
/dev/vg01/rpartition2 (raw)
You could put a file system on partition1 via:
# newfs -F vxfs /dev/vg01/rpartition1
Then use /dev/vg01/rpartition2 as a raw (non file system) partition for one of your applications.
HPUX 10.x and 11.x no longer allow new disks to be partitioned using "hard partitioning" sans LVM.
Hope that helps.
Darren