HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- setup VG and LV
Operating System - Linux
1833198
Members
2688
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-30-2004 04:12 PM
06-30-2004 04:12 PM
setup VG and LV
Hi,
I have 2 SCSI disk /dev/sda and /dev/sdb how do I use LVM to config VG in nad LVs linux. Is it same as HPUX VG LV configration.
Thx!
Ashan
I have 2 SCSI disk /dev/sda and /dev/sdb how do I use LVM to config VG in nad LVs linux. Is it same as HPUX VG LV configration.
Thx!
Ashan
legend the heart and lend the hand
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 04:55 PM
06-30-2004 04:55 PM
Re: setup VG and LV
Hi,
Do you have LVM installed on your version
of linux ?
Then,
It is the same as in HP-UX only pv here will be /dev/sda ...etc..,
And the lv creation is as it is.
Examples if you require:
To create a volume group named test_vg using physical volumes /dev/hdk1, /dev/hdl1, and /dev/hdm1 with default physical extent size of 4MB:
#vgcreate test_vg /dev/sd[k-m]1
LVOL'S Example:
#lvcreate -i 3 -I 8 -L 100 vg00
tries to create a striped logical volume with 3 stripes, a stripesize of 8KB and a size of 100MB in the volume group named vg00. The logical volume name will be chosen by lvcreate.
Regards,
Do you have LVM installed on your version
of linux ?
Then,
It is the same as in HP-UX only pv here will be /dev/sda ...etc..,
And the lv creation is as it is.
Examples if you require:
To create a volume group named test_vg using physical volumes /dev/hdk1, /dev/hdl1, and /dev/hdm1 with default physical extent size of 4MB:
#vgcreate test_vg /dev/sd[k-m]1
LVOL'S Example:
#lvcreate -i 3 -I 8 -L 100 vg00
tries to create a striped logical volume with 3 stripes, a stripesize of 8KB and a size of 100MB in the volume group named vg00. The logical volume name will be chosen by lvcreate.
Regards,
I'll sleep when i am dead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 05:13 PM
06-30-2004 05:13 PM
Re: setup VG and LV
I hv done this in SuSe linux. And it is similier to hpux
Command hpux Linux
pvcreate # required required
mkdir /dev/vg?? required not required
mknod required not required
vgcreate required required
lvcreate required required
newfs required required but mk_reiserfs or whatever ..
mkdir /mnt_point required required
Update /etc/fstab required required
mount /mnt_point required required
Regds,
Kaps
Command hpux Linux
pvcreate # required required
mkdir /dev/vg?? required not required
mknod required not required
vgcreate required required
lvcreate required required
newfs required required but mk_reiserfs or whatever ..
mkdir /mnt_point required required
Update /etc/fstab required required
mount /mnt_point required required
Regds,
Kaps
Nothing is impossible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2004 10:35 PM
06-30-2004 10:35 PM
Re: setup VG and LV
It will be the same, except that vgcreate does mkdir and mknod for you.
A point : I would suggest you to have a look at XFS as a file sytem for LVM.
I've been involved in test between EXT3, reiserfs and XFS as journalized FS for Linux. My conclusions where that reiserfs ans XFS were far better than EXT3, and that XFS uses less CPU than reiserfs.
It provides similar features as vxfs, and I've been experiencing recoveries whithout problem (Windows crashing a LVM partition, vgrestore, xfs repair, and all was good).
It is IRIX journalized FS for long and is very stable.
Regards,
Fred
A point : I would suggest you to have a look at XFS as a file sytem for LVM.
I've been involved in test between EXT3, reiserfs and XFS as journalized FS for Linux. My conclusions where that reiserfs ans XFS were far better than EXT3, and that XFS uses less CPU than reiserfs.
It provides similar features as vxfs, and I've been experiencing recoveries whithout problem (Windows crashing a LVM partition, vgrestore, xfs repair, and all was good).
It is IRIX journalized FS for long and is very stable.
Regards,
Fred
--
"Reality is just a point of view." (P. K. D.)
"Reality is just a point of view." (P. K. D.)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP