- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- replacing 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
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-08-2001 11:45 PM
05-08-2001 11:45 PM
I have to replace two old disks in mirror with two newest and bigger disks. These disks are external connected to two D class server in cluster. These disks belong to a volume group shared by the 2 node cluster.
So I think I must destroy the old vg and recreate it vith the new 2 disks.
But, do I need to delete end reinstall special files with insf when disks are replaced?
Do I need to reboot the 2 nodes?
Regards
Roberto
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 12:13 AM
05-09-2001 12:13 AM
Re: replacing disks
if you can effort the downtime better reboot both node to get rid of weird error and device file will automatic create for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 01:56 AM
05-09-2001 01:56 AM
Re: replacing disks
Boot into single user mode and override the quorum, as:
# ISL> hpux -is -lq /stand/vmunix
# vgcfgrestore -n /dev/vg00 /dev/rdsk/cXtYdZ
# mkboot /dev/rdsk/cXtYdZ
# mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/CXtYdZ
# lvlnboot -Rv
# vgchange -a y /dev/vg00
# vgsync /dev/vg00
# shutdown -r y 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 02:32 AM
05-09-2001 02:32 AM
Re: replacing disks
is this VG in shared, or exclusive mode?
If it is in shared mode, then you'll need to de-activate it first, then activate it with "vgchange -a e" (this way you wont need to stop the cluster, just the package associated with the vg). After this, on both cases:
- connect the new disks to both systems (if slots are available)
- "ioscan -fnC disk"
- For the new HW addresses without device files, you'll need to do "insf -H
- on the system you have the VG activated do: "pvcreate /dev/rdsk/cxtxdx" for each new disk
- "vgextend vg
- "pvmove /dev/dsk/
- "pvmove /dev/dsk/
- "vgreduce vg
- if it succceeds, then you'll need to "vgexport -m /tmp/vgxx.map -p -v
- copy the file to the other system and, on that system, do "vgexport vgxx"
- "mkdir /dev/vgxx"
- "mknod /dev/vgxx/group c 64 0x000001" (this hex number has to be the equal to the original system, be carefull with this.
- vgimport -m /tmp/vgxx.map vgxx /dev/dsk/
- try to activate it on this node.
Hope this helps. maybe it seems a little bit hard, or confusing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 02:44 AM
05-09-2001 02:44 AM
Re: replacing disks
I do not need to replace a failed disk on vg00 (boot disk). I need to replace 2 old disk of 2GB with new disks of 18GB.
These disks are external conneted by scsi and shared on two cluster nodes.
The vg is a part of a package of the cluster. I know I have to stop package and rebuild the vg and reshare again.
But I do not know if changing disks type can make problem with original special files.
I the reboot reinstalls special files... But I am concerned if boot is necessary or not
Regards
Roberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 02:55 AM
05-09-2001 02:55 AM
Re: replacing disks
You do not need to reboot your system to install new special files! You only need to use that command called "insf".
So, if your vg is in shared mode you're maybe using MC/SG OPS?
These disks will be placed on a rack?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 03:30 AM
05-09-2001 03:30 AM
Re: replacing disks
yes, there's SG... I know all procedures to do for recreating vg and package.
My question was:
If disk is /dev/dsk/c3t2d0 (for example) and the new disk has the same path, but the disk is bigger, do I need to reinstall special file even if the path is the same??
That's all.
Regards
Roberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 05:15 AM
05-09-2001 05:15 AM
Re: replacing disks
My answer to that is NO. Once the device file is created, you do not need to recreate it again.
But don't forget 'pvcreate'.
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 05:31 AM
05-09-2001 05:31 AM
SolutionI made the following experience on a K server with 10.20 some minutes ago:
- added a disk with 4Gb
- created the device file
- "diskinfo /dev/rdsk/cxtxdx" - OK
- removed it
- ioscan showed NO_HW - OK
- added a disk with 2GB to smae slot
- ioscan showed CLAIMED - OK
- "diskinfo /dev/rdsk/cxtxdx" - HANGED!!!
so, I cannot guarantee, maybe that disk has some problem, but maybe you should re-create the files.
Just a last thought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2001 06:47 AM
05-09-2001 06:47 AM
Re: replacing disks
Best Regards
Roberto