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
01-05-2007 05:55 AM
01-05-2007 05:55 AM
than what is similar command in HP UNIx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 05:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 05:57 AM
01-05-2007 05:57 AM
Re: LVM
This will list all your disks and corresponding devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 06:26 AM
01-05-2007 06:26 AM
Re: LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 06:30 AM
01-05-2007 06:30 AM
Re: LVM
at least until now (HP-UX 11.23) the concept is different.
The disks are not "counted" (a,b,c,... or 1,2,3 ...).
If you run "ioscan -fnCdisk" or "ioscan -fnkCdisk" you will get a hw-path and device files.
The device file looks like this example:
/dev/dsk/c10t3d0
For a simple SCSI connected disk this means
the disk is connected to controller 10 (c10) (the HW path will tell you the slot where the HBA is installed),
the disks has SCSI ID 3 (t3) and the LUM number is 0 (d0).
Note, array LUNs will be translated to look like this, but the d-value will become important.
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
01-05-2007 06:38 AM
01-05-2007 06:38 AM
Re: LVM
# pvcreate /dev/dsk/c0t0d1
pvdisplay will display information about the physical volume.
So if you are wanting to create a volume group; then a logical volume; and then a filesystem like /oracle for example - here are the steps:
Search for attached disk
# ioscan -fnC disk
Initialize a disk for use with LVM
# pvcreate -f /dev/rdsk/c0t1d0
Create the device structure needed for a new volume group.
# cd /dev
# mkdir vgdata
# cd vgdata
# mknod group c 64 0x010000
Create volume group vgdata
# vgcreate vgdata /dev/dsk/c0t1d0
( if your expecting to use more than 16 physical disks use the -p option, range from 1 to 256 disks. }
Display volume group vgdata
# vgdisplay -v vg01
Add another disk to volume group
# pvcreate -f /dev/rdsk/c0t4d0
# vgextend vg01 /dev/dsk/c0t4d0
Create a 100 MB logical volume lvdata
#lvcreate -L 100 -n lvdata vgdata
# newfs -F vxfs /dev/vgdata/rlvdata
# mount /lvdata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 06:40 AM
01-05-2007 06:40 AM
Re: LVM
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 3 0/0/1/1.0.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 4 0/0/2/0.0.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 6 0/10/0/0.1.0.42.0.0.0 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 8 0/10/0/0.1.0.42.0.0.1 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1
disk 10 0/10/0/0.1.0.42.0.0.2 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2
disk 12 0/10/0/0.1.0.42.0.0.3 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c5t0d3 /dev/rdsk/c5t0d3
disk 5 0/12/0/0.1.0.39.0.0.0 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 7 0/12/0/0.1.0.39.0.0.1 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 9 0/12/0/0.1.0.39.0.0.2 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 11 0/12/0/0.1.0.39.0.0.3 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c4t0d3 /dev/rdsk/c4t0d3
Then how to execute Pvcreate and pvdisplay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 06:40 AM
01-05-2007 06:40 AM
Re: LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 06:50 AM
01-05-2007 06:50 AM
Re: LVM
# pvcreate -f /dev/rdsk/c1t0d0
** Notice that you require the raw device for the pvcreate command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2007 06:53 AM
01-05-2007 06:53 AM
Re: LVM
From your ioscan:
disk 6 0/10/0/0.1.0.42.0.0.0 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 8 0/10/0/0.1.0.42.0.0.1 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1
disk 10 0/10/0/0.1.0.42.0.0.2 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2
disk 12 0/10/0/0.1.0.42.0.0.3 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c5t0d3 /dev/rdsk/c5t0d3
disk 5 0/12/0/0.1.0.39.0.0.0 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 7 0/12/0/0.1.0.39.0.0.1 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c4t0d1 /dev/rdsk/c4t0d1
disk 9 0/12/0/0.1.0.39.0.0.2 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c4t0d2 /dev/rdsk/c4t0d2
disk 11 0/12/0/0.1.0.39.0.0.3 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c4t0d3 /dev/rdsk/c4t0d3
I see you are using a VA virtual array. I assume your
c5tydz
and
c4tydz
devices are the same (alternate pathes).
So be careful. For this time I would recommend to use SAM, but it is important for you to understand the concept.
Just start SAM, go to disk devices and create a new volume group and logical volumes and mount points.
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
01-05-2007 09:15 AM
01-05-2007 09:15 AM
Re: LVM
THe command i use is "ioscan -fnC disk" to show the hardware path and disk /dev devices. You also need to make sure the hardware is claimed.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2007 05:43 AM
01-06-2007 05:43 AM
Re: LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2007 08:43 PM
01-07-2007 08:43 PM
Re: LVM
Step2 : Vgcreate for one hard disk
Step3: Vgextend for another disk (Same device number).
This method is called alternate link configuaration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2007 12:35 AM
01-08-2007 12:35 AM
Re: LVM
Create a 100 MB logical volume lvdata
#lvcreate -L 100 -n lvdata vgdata
# newfs -F vxfs /dev/vgdata/rlvdata
# mount /lvdata
So in the above steps a 100MB logical volume was created in the vgdata volume group and mounted as /lvdata