- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: creating a new lv
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
11-01-2010 11:59 PM
11-01-2010 11:59 PM
B.11.11
vgdisplay /dev/vemcC30
--- Volume groups ---
VG Name /dev/vemcC30
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 4
Cur PV 1
Act PV 1
Max PE per PV 38400
VGDA 2
PE Size (Mbytes) 4
Total PE 38394
Alloc PE 37500
Free PE 894
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
/dev/vemcC30/lvol1 153600000 105361864 47861344 69% /warp/warp/database16
storage team assign me 150 GB lun,I want to add a new LV with 100GB size[/dev/vemcC30/lvol2 & mount it with a new mount point which i need to create ex./warp/warp/database17]
what will be the stapes:-
pvcreate /dev/rdsk/c16t4d7
vgextend /dev/vgeb_rdo40_d /dev/dsk/c16t4d7 /dev/dsk/c18t4d7 /dev/dsk/c20t4d7 /dev/dsk/c22t4d7
after this what i need to do
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 12:05 AM
11-02-2010 12:05 AM
Re: creating a new lv
lvcreate -r N -L 102400M -n lvol2 /dev/vemcC30
lvdisplay /dev/vemcC30/lvol2
newfs -F vxfs -o largefiles /dev/vemcC30/lvol2
mkdir /warp/warp/database17
mount /dev/vemcC30/lvol2 /warp/warp/database17
its production server so please correct me if i am wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 12:07 AM
11-02-2010 12:07 AM
Re: creating a new lv
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02023734/c02023734.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 12:27 AM
11-02-2010 12:27 AM
SolutionThe commands looks fine with few small correction needed,
the newfs command should be run on raw device
newfs -F vxfs -o largefiles /dev/vemcC30/rlvol2
And do remember to add the corresponding entry in fstab.(Hope there is no clustering).
Regards
Jayakrishnan G naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 12:37 AM
11-02-2010 12:37 AM
Re: creating a new lv
For new LV creation on a new disk on a existing VG [vemcC30] (on a stand alone server):
--------------------------------------
pvcreate /dev/rdsk/new_disk
vgextend /dev/vemcC30 /dev/dsk/new_disk <<<< you have mentioned a different VG_name and only new disk needs to be extended into the VG
lvcreate -L 102400M -n lvol2 /dev/vemcC30 <<<< -r N is default behaviour
newfs -F vxfs -o largefiles /dev/vemcC30/rlvol2
mkdir /warp/warp/database17
mount /dev/vemcC30/lvol2 /warp/warp/database17 <<<< take care for full LV name
bdf
Edit /etc/fstab file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 01:17 AM
11-02-2010 01:17 AM
Re: creating a new lv
Regards,
Ani