- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change harddisk
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
07-08-2002 03:06 AM
07-08-2002 03:06 AM
change harddisk
vg00 has 2 disks,one is ok the other is borken.
the bad one is /dev/rdsk/c0t5d0, it has
2 file system, /usr and /home.
I have order a new one already, now what's
the steps? btw,I have the backup of /usr and
/home.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 03:19 AM
07-08-2002 03:19 AM
Re: change harddisk
run vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t5d0
too restore LVM headers (lvol definitions sizes configuration etc..), then vgchange -a y vg00 and mount and restore via your normal method.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 03:21 AM
07-08-2002 03:21 AM
Re: change harddisk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 03:24 AM
07-08-2002 03:24 AM
Re: change harddisk
You'll probably have to do this from single user mode:
(1) install new disk
(2) make sure it has the same scsi ID as the previous
then look at this:
http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0xeccbc8ecad09d6118ff40090279cd0f9,00.doc
from this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x891eeea29889d611abdb0090277a778c,00.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2002 03:47 AM
07-08-2002 03:47 AM
Re: change harddisk
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 11:37 AM
07-09-2002 11:37 AM
Re: change harddisk
You can add two new lvol's and filesystems /usr1 and /home1.
restore your copies to /usr1 and /home1.
Edit fstab change your current /usr and /home to /home1 and /usr1.
change you current /usr1 and /home1 to /home and /usr. Then Reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 12:16 PM
07-09-2002 12:16 PM
Re: change harddisk
You need to boot in single user mode. If you have a Ignite backup then you can restore some files using that.
If not then you have to connect the new harddisk and remember to keep the SCSI ID the same as the old harddisk.
#pvcreate -f /dev/rdsk/c0t5d0 ( use the new disk for lvm )
vgcfgrestore will work if the vgcfgrestore command was run and it will only restore the vg information into the disk.
# vgcfgrestore -n /dev/vg00 /dev/dsk/cot5d0
Then you will have to activate the vg using vgchange -a y /dev/vg00
Then mount the filesystems and restore from the backup.
Regards,
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 12:18 PM
07-09-2002 12:18 PM
Re: change harddisk
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 12:59 PM
07-09-2002 12:59 PM
Re: change harddisk
ISL> hpux -lm
That brings you to LVM maintenance, the rest of the steps would look like this ..(assuming new disk is c1t2d0)
# pvcreate -f /dev/rdsk/c1t2d0
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t2d0
# vgchange -a y /dev/vg00
# newfs -F vxfs /dev/vg00/rlvolX
(Do for all affected lvols ie the ones on /home and /usr, take note, check you /etc/fstab file to make sure you're using vxfs)
# mount /dev/vg00/lvolX /usr
# mount /dev/vg00/lvolY /home
Now restore you files and finally ..
# shutdown -r 0