- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create volume groupe from internal disk
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
05-10-2008 11:39 PM
05-10-2008 11:39 PM
i need to create a new volume group from two internal disk ( /dev/dsk/c0t6d0 and c2t6d0 ) in my server ( I have 45GB free size ) but I don't know what is the disk I can used and if this operation effect on the data on my disk, because this OS disk
Thanks & kind Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2008 11:55 PM
05-10-2008 11:55 PM
Re: Create volume groupe from internal disk
The question is not clear.
Do you have two disks only.
Pls give the output of
ioscan -fnCdisk
vgdisplay -v|grep "PV N"
vgdisplay -v|grep "VG N"
strings /etc/lvmtab|grep dsk
ll /dev/*/group
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:06 AM
05-11-2008 12:06 AM
Re: Create volume groupe from internal disk
thanks for replay, you can find the attachment file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:18 AM
05-11-2008 12:18 AM
Re: Create volume groupe from internal disk
you cannot create VG in existing disk which are part of another VG.
you can create lvol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:19 AM
05-11-2008 12:19 AM
Solutionor do you want to create another LV (logical vol) on the existing VG - vg00.
I can see another two internal disks
/dev/dsk/c6t0d0
/dev/dsk/c6t2d0
Please give the output of:
vgdisplay -v|grep "PV N"
vgdisplay -v|grep "VG N"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:20 AM
05-11-2008 12:20 AM
Re: Create volume groupe from internal disk
#pvdisplay -v /dev/dsk/c0t6d0
#pvdisplay -v /dev/dsk/c2t6d0
is its say this is not a part of any vg, then you can proceed creation vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:21 AM
05-11-2008 12:21 AM
Re: Create volume groupe from internal disk
u have to give out put of volume groups
just vgdisplay
please send
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:23 AM
05-11-2008 12:23 AM
Re: Create volume groupe from internal disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:31 AM
05-11-2008 12:31 AM
Re: Create volume groupe from internal disk
thanks for all replay
#vgdisplay -v|grep "PV N"
PV Name /dev/dsk/c2t6d0
PV Name /dev/dsk/c0t6d0
#vgdisplay -v|grep "VG N"
VG Name /dev/vg00
root@ruxdb02 > vgdisplay -v
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 5888
Free PE 2860
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 64
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 16384
Current LE 1024
Allocated PE 2048
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 64
Allocated PE 128
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 32
Allocated PE 64
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 384
Allocated PE 768
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 256
Allocated PE 512
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 16384
Current LE 1024
Allocated PE 2048
Used PV 2
--- Physical volumes ---
PV Name /dev/dsk/c2t6d0
PV Status available
Total PE 4374
Free PE 1430
Autoswitch On
PV Name /dev/dsk/c0t6d0
PV Status available
Total PE 4374
Free PE 1430
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:34 AM
05-11-2008 12:34 AM
Re: Create volume groupe from internal disk
Dear Nejad
steps for creating volume groups
1. first u have to create physical volume
by using pvcreate command
1.pvcreate /dev/rdsk/c#t#d#
2.pvcreate /dev/rdsk/c#t#d#
2.after adding physical volumes on all disks u can move to the process of volume group creation
3.create a directory in the dev with the group name if u volume group is vg04 then directory will be /dev/vg04
4.create a group special file in this directory with a major 64 and minor number 0x040000
5. create a group special file by uisng mknod
mknod /dev/vg04/group c 64 0x040000
then vgcreate /dev/vg04 /dev/dsk/C#t#d#
ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:35 AM
05-11-2008 12:35 AM
Re: Create volume groupe from internal disk
PV Name /dev/dsk/c2t6d0
PV Status available
Total PE 4374
Free PE 1430
Autoswitch On
PV Name /dev/dsk/c0t6d0
PV Status available
Total PE 4374
Free PE 1430
Autoswitch On
see your mentionded disks are already part of an existing vg. so no way to create another vg with this disks.
you need another 2 disks for vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:36 AM
05-11-2008 12:36 AM
Re: Create volume groupe from internal disk
this disk already using
thanks and regards
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:37 AM
05-11-2008 12:37 AM
Re: Create volume groupe from internal disk
LVM on HP-UX does not permit the creation of more than one volume group on a single physical disk.
This limitation does not exist in Linux LVM.
Want a new volume group, need a new disk.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:39 AM
05-11-2008 12:39 AM
Re: Create volume groupe from internal disk
#vgdisplay -v|grep "PV N"
PV Name /dev/dsk/c2t6d0
PV Name /dev/dsk/c0t6d0
You cannot create a VG on those disks. If you want another LV, you can create a new LV on the vg00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:39 AM
05-11-2008 12:39 AM
Re: Create volume groupe from internal disk
u got my point Nejad it is already using ok, please don't touch it
u can choose another two physical disk for creating volume group and do the steps what i have given it is step by step procedure
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:45 AM
05-11-2008 12:45 AM
Re: Create volume groupe from internal disk
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:52 AM
05-11-2008 12:52 AM
Re: Create volume groupe from internal disk
i am see two different internal disk with ioscan -fnC disk command.
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
disk 3 0/0/6/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c6t0d0 /dev/rdsk/c6t0d0
disk 4 0/0/6/1/0.2.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
but what is the difference between HP 73.4GST373454LC and another disk "HP 73.4GMAX3073NC"
and i am using the
vgdisplay -v /dev/dsk/c6t2d0
but i am see this message
" root@ruxdb02 > vgdisplay -v /dev/dsk/c6t2d0
vgdisplay: Volume group "/dev/dsk/c6t2d0" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "/dev/dsk/c6t2d0". " this meaning the disk is not used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 12:55 AM
05-11-2008 12:55 AM
Re: Create volume groupe from internal disk
if you want to use it on the pv_path use,
pvdisplay /dev/dsk/c0t6d0
vgdisplay vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 01:00 AM
05-11-2008 01:00 AM
Re: Create volume groupe from internal disk
Please read the posts carefully. I have already posted that you have two extra internal disks which are not used.
I can see another two internal disks
/dev/dsk/c6t0d0
/dev/dsk/c6t2d0
73.4GMAX3073NC & HP 73.4GST373454LC are disk models. You can use diskinfo command on them.
diskinfo /dev/rdsk/c6t0d0
diskinfo /dev/rdsk/c6t2d0
to see the model and the size.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 01:02 AM
05-11-2008 01:02 AM
Re: Create volume groupe from internal disk
the same message
# pvdisplay /dev/dsk/c6t0d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c6t0d0" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/c6t0d0"
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 01:09 AM
05-11-2008 01:09 AM
Re: Create volume groupe from internal disk
then you can create vg with these disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 01:11 AM
05-11-2008 01:11 AM
Re: Create volume groupe from internal disk
rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 01:14 AM
05-11-2008 01:14 AM
Re: Create volume groupe from internal disk
# pvdisplay /dev/dsk/c6t0d0
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/c6t0d0" belongs.
means it is not using any volume group
so follow the steps what i have posted before and remove #with integers
ok
thanks and regards
Sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2008 01:32 AM
05-11-2008 01:32 AM
Re: Create volume groupe from internal disk
mkdir /dev/vg01
cd /dev/vg01
mknod group c 64 0x010000
pvcreate /dev/rdsk/c6t0d0
vgcreate -s 16 /dev/vg01 /dev/dsk/c6t0d0
vgchange -a y /dev/vg06
lvcreate -L 10000 -n lvol1 /dev/vg01
(here you are creating a LV with the size of 10000MB - you can change the size as per your requirement)
newfs -F vxfs /dev/vg01/rlvol1
mkdir /mountpoint (dir name)
mount -F vxfs /dev/vg01/lvol1 /mountpoint (dir name)