- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX mirror disks
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
тАО07-28-2009 05:53 AM
тАО07-28-2009 05:53 AM
Re: HP-UX mirror disks
You need to use
newfs -f vxfs -o largefiles /dev/vgtest/rlvoltest
rlvoltest not lvoltest
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 05:55 AM
тАО07-28-2009 05:55 AM
Re: HP-UX mirror disks
Sorry for last post it should be
newfs -F vxfs -o largefiles /dev/vg01/rlvoltest
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 05:57 AM
тАО07-28-2009 05:57 AM
Re: HP-UX mirror disks
newfs -f vxfs -o largefiles /dev/vg01/rorau8
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 05:59 AM
тАО07-28-2009 05:59 AM
Re: HP-UX mirror disks
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 09:17 PM
тАО07-28-2009 09:17 PM
Re: HP-UX mirror disks
I am sure you would have done with this by now, sorry about the small silly mistakes in the command syntax, allow me to type it all over again to make sure you have got correct procedure for this in one shot.
Considering following info
Volume Group Name - vgtest
Logical Volume name - lvoltest
Logical volume size - 20480 MB (20 GB)
Disk 1 - /dev/dsk/c4t4d0
Disk 2 - /dev/dsk/c4t5d0
Steps to create new vg
###################
#Verify if these disks are not the part of any volume group already
strings /etc/lvmtab |grep -i c4t4d0
strings /etc/lvmtab |grep -i c4t5d0
(above commands should come out without any output, if it is coming with the disk name means this disk is already being used for some other VG, in this case verify and use another disk which is free on the system)
pvcreate -f /dev/rdsk/c4t4d0
mkdir /dev/vgtest
mknod group c 64 0X020000
(minor number 0X020000 make sure it is unused, if used just use successive number 0X030000)
you can check it by running below command
ls -al /dev/*/group
crw------- 1 root sys 64 0x010000 May 28 17:39 /dev/vg01/group
crw-r----- 1 root sys 64 0x000000 Feb 26 11:06 /dev/vg00/group
vgcreate -l 255 -p 255 -e 5000 -s 64 /dev/vgtest /dev/dsk/c4t4d0
lvcreate -L 20480M -n lvoltest /dev/vgtest
newfs -F vxfs -o largefiles /dev/vgtest/rlvoltest
mkdir /test
mount /dev/vgtest/lvoltest /test
#take backup of /etc/fstab
cp /etc/fstab /etc/fstab_backup
# Appen below entry in fstab to be able to mount this file system after reboot.
/dev/vgtest/lvoltest /test vxfs delaylog,largefiles 0 2
run command confirm any syntax error in the entry you have added in /etc/fstab
#mountall
#vgcfgbackup vgtest
(To create/update LVM volume group configuration backup file, this you may need if there is any corruption of vginfo on any disk)
Mirroring (RAID 1)
####################
pvcreate -f /dev/rdsk/c4t5d0
vgextend /dev/vgtest /dev/dsk/c4t5d0
lvextend -m 1 /dev/vgtest/lvoltest /dev/dsk/c4t5d0
Once completes u can check using , look for mirror copy details.
lvdisplay /dev/vgtest/lvoltest
Thanks
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 10:14 PM
тАО07-28-2009 10:14 PM
Re: HP-UX mirror disks
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1359248
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!
- « Previous
- Next »