- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk Mirroring Error
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
11-17-2004 08:51 AM
11-17-2004 08:51 AM
Disk Mirroring Error
# pvcreate —f —B /dev/rdsk/c1t0d0
# vgextend /dev/vg00 /dev/dsk/c1t0d0
# mkboot /dev/rdsk/c1t0d0
# mkboot -a “hpux —lq” /dev/rdsk/c1t0d0
# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/c1t0d0
# for i in /dev/vg00/lvol*
do
lvextend —m 1 $i /dev/rdsk/c1t0d0
done
When I run the for/done I get this error:
lvextend: Physical volume "/dev/rdsk/c1t0d0" is not a block special file.
When I run ioscan -fnC disk I know that I am using the correct HD to mirror.
Any ideas why I can not per
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 09:04 AM
11-17-2004 09:04 AM
Re: Disk Mirroring Error
You must use block device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 09:06 AM
11-17-2004 09:06 AM
Re: Disk Mirroring Error
this Need correction,
# for i in /dev/vg00/lvol*
do
lvextend â m 1 $i /dev/rdsk/c1t0d0
done
use /dev/dsk/c1t0d0 in place of /dev/rdsk/c1t0d0
Hope this helps.
Reg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 09:15 AM
11-17-2004 09:15 AM
Re: Disk Mirroring Error
Not a good idea to run 'for i in /dev/vg00/lvol*' . If you have logical volumes from lvol1 - lvol12, then lvol11 may appear after lvol1. If you want to use 'for' then use for i in 1 2 3 4 5 6 7 etc.,
Specify /dev/dsk not /dev/rdsk as said before.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 10:49 AM
11-17-2004 10:49 AM
Re: Disk Mirroring Error
You should really do somethings like this:
LVOLS="lvol1 lvol2 lvol3 lvol4 ... lvol9"
for i in ${LVOLS}
do
....
done
so that you have absolute control over the order of LVOL creation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 08:39 PM
11-22-2004 08:39 PM
Re: Disk Mirroring Error
You can also do somethings like this:
for i in `ls /dev/vg00/lvol*|awk '{print substr($1,1,length($1)}'|sort -n`
do
....
lvextend -m 1 /dev/vg00/lvol${i} /dev/dsk/c1tod0
done
so than the order of LVOL will be correct.
Greetings CvB