- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: VG creation from Storage
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
тАО06-06-2011 10:27 PM
тАО06-06-2011 10:27 PM
30 Gb allocated from san . i need to create a new logical volume. could you please help me.
Please provide command step by step. first time i am going to create LV from SAN.
disk 58 0/7/1/0/4/0.24.44.0.0.2.0 sdisk CLAIMED DEVICE HP MSA VOLUME
Thanaks in advance.
Regards
RPS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2011 10:34 PM
тАО06-06-2011 10:34 PM
Re: VG creation from Storage
"ioscan -fnC disk" for the above disk (we need to know the device file names)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2011 10:50 PM
тАО06-06-2011 10:50 PM
Re: VG creation from Storage
Os version is 11.23
Regards
RPS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2011 11:04 PM
тАО06-06-2011 11:04 PM
Solutionit seems that your DSF is missing.
To create it, run:
#insf -v
You should then run #ioscan -fn
again and see your DSF for disk 58
In which Volume group do you want to create your new LV?
After the DSF for the disk58 has been created, then initialize it for LVM usage:
#pvcreate
After the disk has been initialized, add it to the VG, in which you want to create the new LV:
#vgextend
Then create new LV:
#lvcreate -L
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 02:28 AM
тАО06-07-2011 02:28 AM
Re: VG creation from Storage
This LV is temporay purpose for one month. after one month i have reacalim. How to recail it.
regads
RPS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 02:35 AM
тАО06-07-2011 02:35 AM
Re: VG creation from Storage
# umount
# lvremove /dev/
you can also potentially vgreduce the disk which is used for the VG:
#vgreduce
#pvremove
Then unpresent the disk from the server so it can be used elsewhere, this is being done on the disk array...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 10:17 AM
тАО06-07-2011 10:17 AM
Re: VG creation from Storage
Thanks. i don't want to extend the vg . i needd to create PV+VG+LV+FS. please provide me steps.
Thanks in advance.
Regards
RPS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 10:30 AM
тАО06-07-2011 10:30 AM
Re: VG creation from Storage
to create the DSF for the new disk?
then #ioscan -fn
again and give me the output of disk58.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 07:44 PM
тАО06-07-2011 07:44 PM
Re: VG creation from Storage
Please find attached file.
Thanks
RPS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2011 09:28 PM
тАО06-07-2011 09:28 PM
Re: VG creation from Storage
#ll /dev/vg*/group
Ok so your new DSFs that got created is according to this: /dev/dsk/c9t2d0, /dev/rdsk/c9t2d0
you wanted to create the PV from it so:
#pvcreate /dev/rdsk/c9t2d0
You didn't specify the parameters of VG, so I assume the defaults will be ok, it's temporary anyways, so:
#mkdir /dev/vgname
#mknod /dev/vgname/group c 64 0x0Y0000
where 'Y' is the number following the last minor number from the #ll /dev/vg*/group output
#vgcreate vgname /dev/dsk/c9t2d0
The 'vgname' should be unique to your system, it could be anything like vgora, vgtemp....doesn't really matter....
Then create the 30GB LV:
#lvcreate -L 30720 /dev/vgname
Create a FS within the LV:
#newfs -F vxfs -o largefiles /dev/vgname/rlvol1 (largefiles option is optional, if you are going to have files bigger than 2GB in that FS)
Finally mount the FS:
#mount /dev/vgname/lvol1 /your_mount_point