- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create New LV on Existing VG Steps???
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-02-2007 12:27 AM
11-02-2007 12:27 AM
I wanted to create new mount point on existing volume group. would be truly grateful if you could comment and verify the steps:
# ioscan
# insf –e
# autopath discover
# autopath display
# autopath set_lbpolicy RR /dev/dsk/c??t??d0
# ioscan -funC disk
# pvcreate -f /dev/rdsk/c??t??d?
# vgextend /dev/vg18 /dev/dsk/c??t??d? – extend to the existing volume group
# lvcreate –L 4096 -n /dev/vg18/lvol3 /dev/vg18
# newfs /dev/vg18/rlvol3
# mkdir /FISH_d03
# mount -F vxfs /dev/vg18/lvol3 /FISH_d03
Hope to hear from you. Nite
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2007 12:35 AM
11-02-2007 12:35 AM
Re: Create New LV on Existing VG Steps???
The correct sentences for the creation of logical volume and filesystem are:
lvcreate -L 4096 -n lvol3 /dev/vg18
newfs -F vxfs /FISH_d03
Regards;
J. Bravo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2007 12:36 AM
11-02-2007 12:36 AM
Re: Create New LV on Existing VG Steps???
Excuse me for the errata; for the filesystem is:
newfs -F vxfs /dev/vg18/rlvol3
Regards;
J. Bravo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2007 12:38 AM
11-02-2007 12:38 AM
Re: Create New LV on Existing VG Steps???
and add a step to change the /etc/fstab with the new fs and mountpoint info.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2007 07:50 PM
11-02-2007 07:50 PM
Re: Create New LV on Existing VG Steps???
Thanks for your awaiting respond
1. I would like to ask about lv extend
if i want to extend lv and i have the online jfs installed, do i have to unmount the mount first?
# umount /disc2
# lvextend -L 4096 /dev/vg18/lvol1
# fsadm -F vxfs -b 4194304 /disc2
the fsadm value <4194304> is the final desired size in kilobyte????
2. I want to create a mount point of 1GB for oracle index file, but the problem when I created by issuing this command #lvcreate -L 1024 /dev/vg18/lvol3 and created the file system and mount the directory, the the available is not 1GB and it has been utilised 1%. when I go in to the directory there is a lost+found inside the directory. HP-UX gurus, do i have to create the lv with bit bigger size than 1024 i.e 1100??? but can HP-UX accept the size that is not in 512 multiple?????
Really looking forward for your awaiting reply to my 1 and 2. I promise to give good points. Thank you
-Finas-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2007 08:49 PM
11-02-2007 08:49 PM
Solution----
Thanks for your awaiting respond
1. I would like to ask about lv extend
if i want to extend lv and i have the online jfs installed, do i have to unmount the mount first?
# umount /disc2
# lvextend -L 4096 /dev/vg18/lvol1
# fsadm -F vxfs -b 4194304 /disc2
the fsadm value <4194304> is the final desired size in kilobyte????
----
No, if you have OnlineJFS installed you do not need to umount the filesystem.
# lvextend -L 4096 /dev/vg18/lvol1
# fsadm -F vxfs -b 4096M /disc2
Note the M for MegaBytes
----
2. I want to create a mount point of 1GB for oracle index file, but the problem when I created by issuing this command #lvcreate -L 1024 /dev/vg18/lvol3 and created the file system and mount the directory, the the available is not 1GB and it has been utilised 1%. when I go in to the directory there is a lost+found inside the directory. HP-UX gurus, do i have to create the lv with bit bigger size than 1024 i.e 1100??? but can HP-UX accept the size that is not in 512 multiple?????
----
filesystems need about 8 % space for administration. 1024/100 = 10.24 X 108 = +/- 1106. If a logical_volume_size is not a multiple of extentsize, the size is adjusted to the next multiple.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2007 09:11 PM
11-02-2007 09:11 PM