- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Creating a new logical volume in vg00 and mirr...
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
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
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-28-2007 06:53 AM
тАО08-28-2007 06:53 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 07:08 AM
тАО08-28-2007 07:08 AM
SolutionChange the lv_name and the device file for the disks in below commands.
# lvcreate -n lv_name /dev/vg00
# lvextend -L size_in_MB /dev/vg00/lvhome /dev/dsk/c0t0d0
# lvextend -m 1 /dev/vg01/lvhome /dev/dsk/c1t0d0
# newfs -F vxfs -o largefiles /dev/vg00/r_lvol_name
# mkdir mount_point
add the lvol devices file and mountpoint to the /etc/fstab
# mount -a
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 07:11 AM
тАО08-28-2007 07:11 AM
Re: Creating a new logical volume in vg00 and mirroring it
newfs -F
lvextend -m 1 /dev/vg00/ldata /dev/dsk/c#t#d#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 07:14 AM
тАО08-28-2007 07:14 AM
Re: Creating a new logical volume in vg00 and mirroring it
create the lvol (0 MB size)
# lvcreate -n lvol10 vg00
now extend (very small size = 1 PE) it to the first disk
# lvextend -L 4 /dev/vg00/lvol10 /dev/dsk/c1t0d0
now mirror to the second
# lvextend -m 1 /dev/vg00/lvol10 /dev/dsk/c2t0d0
now the big pro: if you extend the lvol now, it is already mirrored (safes a lot of time):
# lvextend -L 20000 /dev/vg00/lvol10
create a filesystem and mount it.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 07:14 AM
тАО08-28-2007 07:14 AM
Re: Creating a new logical volume in vg00 and mirroring it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 07:15 AM
тАО08-28-2007 07:15 AM
Re: Creating a new logical volume in vg00 and mirroring it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 07:41 AM
тАО08-28-2007 07:41 AM
Re: Creating a new logical volume in vg00 and mirroring it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 02:28 PM
тАО08-28-2007 02:28 PM
Re: Creating a new logical volume in vg00 and mirroring it
lvextend -L 20000 -m 1 /dev/vg00/lvol10
This will complete almost instantly and be ready for use immediately.
Bill Hassell, sysadmin