- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Does anybody have a "basic" cookbook on creating V...
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
тАО09-02-2003 07:18 AM
тАО09-02-2003 07:18 AM
pvcreate /dev/rdsk/cXtYdZ
mkdir /dev/vgname
mknod /dev/vgname/group c 64 0xMN0000
vgcreate vgname /dev/dsk/cXtYdZ
vgextend /dev/vgname /dev/dsk/cXtYdZ
lvcreate -r N -n lvname /dev/vgname
lvextend -L 50 /dev/vgname/lvname /dev/dsk/cXtYdZ
newfs -F vxfs /dev/vgname/rlvname
I just downloaded the manual from www.docs.hp.com and it's 362 pages, so I could use some succinct help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 07:27 AM
тАО09-02-2003 07:27 AM
SolutionThere's also a 99 page migration guide "Veritas Volume Manager 3.1 Migration Guide" which has a "Comparison of LVM and VxVM Tasks" section in Chapter 3. It's not exactly a cookbook, but you can, with a little LVM knowledge, follow the steps, comparing the LVM task with its' VxVM equivalent.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 07:27 AM
тАО09-02-2003 07:27 AM
Re: Does anybody have a "basic" cookbook on creating VxVM file systems?
http://www1.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16
Scroll down to Chapter 17: Veritas Volume Manager (VxVM)
http://www1.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16%7C25
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2003 07:33 AM
тАО09-02-2003 07:33 AM
Re: Does anybody have a "basic" cookbook on creating VxVM file systems?
lvm vxvm
pvcreate -f /dev/rdsk/disk_name vxdisk -f init /dev/dsk/disk_name
vgreate vg01 /dev/dsk/disk_name vxdg init rootdg
vgextend vg01 /dev/dsk/disk_name vxdg -g rootdg adddisk disk1=devicename
lvcreate -L vol_size /dev/vg01 vgassist make vol_name length
lvdisplay /dev/vg01/l;vol_name vxprint -ht vol_name
vgdisplay -v /dev/vg vxprint vxprint -g disk_group
sam vxdiskadm --or-- vmsa
vxvmconvert
vxvm disks are not recognized by make_tape_recovery
This is what I've got so far.
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
тАО09-02-2003 06:20 PM
тАО09-02-2003 06:20 PM
Re: Does anybody have a "basic" cookbook on creating VxVM file systems?
Best way to learn VxVM is to use the GUI -- since SEP202, HP-UX 11i PARISC started bundling VxVM 3.5m with the nice VEA (Veritas Enterprise Administrator). Every GUI activity you do you can display its underlying CLI. Once you are aware of all the commands executed by the GUI - then you can slowly do away without the GUI. Another menu driven tool you can use is "vxdiskadm".
With 3.5m, you still need a rootDG which can as well be your workhorse DG if you opt to stay with LVM on your system disks. Once you've got a rootdg, creating a other DG's would entail:
Initialize disk(s) for use in yor DiskGroup:
/etc/vx/bin/vxdisksetup -i c10t0d1
/etc/vx/bin/vxdisksetup -i c10t0d2
....
Create the Disk Group/Allocate a disk:
vxdg init NewDG disk01=c10t0d1
Add subsequent disks to the diskgroup:
vxdg -g NewDG disk02=c10t0d2
...and so on...
Create a simple volume - let VxVM pick the disk:
vxassist -g NewDG make oravol01 10g
Create a simple volume - specify disk to use:
vxassist -g NewDG make oraredo01 1g alloc=disk20
Create a 4-column stripe, 128K interleave:
vxassist -g NewDG make stripevol 20g layout=striped ncols=4 stwidth=128
Create a VxFS (aka oJFS) Filesystem on oravol01:
mkfs -F vxfs-o bsize=8192,largefiles /dev/vx/rdsk/NewDG/oravol01
... mount the filesystem..
Since you already have LVM experience, adjusting in a VxVM environment will not be that diificult... Best way to learn fast is to practice and find VxVM equivalents... That's how I fastracked on LVM on HPUX environments.
There is also one very good VxVM site: www.vxideas.org and www.cuddletech.com. You may also subscribe to the VxVM mailing list -- the link already forgot.. but most Google search on VxVM tips and tricks will point you to that maillist./forum...