- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Howto replace the system disk
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
тАО12-05-2008 10:07 AM
тАО12-05-2008 10:07 AM
Howto replace the system disk
I tried to set up a similar machine (a 433au) , install 4.0F on it, and vdump/vrestore the disk contents from the old system to the new, in hope to be able to carry over the new disk to the old after this was completed and just reboot the new disk.
Well, it failed, of course. The first reason was that the working device files were overwritten so the tape device disappeared in the middle of my vrestore script. And I am sure there are many other reasons why this is the wrong method.
Could someone please help to outline the steps how to do this disk replacement/upgrade the correct way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 10:33 AM
тАО12-05-2008 10:33 AM
Re: Howto replace the system disk
1. In single-user mode, run disklabel to create the partition sizes on the new disk the way you want them. (Note: if your root filesystem is AdvFS, make sure you include the "-t advfs" option to disklabel in order to include AdvFS boot blocks.)
2. Create the new filesystems on the new disk partitions with newfs (if UFS) or mkfdmn/mkfset (if AdvFS).
3. Use vdump|vrestore pipelines to copy each old filesystem to its new location. The examples section of the vdump man page includes an example of the proper syntax.
4. After all filesystems are copied, shut down the system and move the new disk to the original boot disk's slot. (You don't absolutely have to do this, but if you don't, then you'll need to edit the "new" filesystems first to change some disk pointers, because the disk will have a different device name if it's in a different slot.)
Now if you DON'T have room to have both the old and new disks up at the same time...then you'll need a tape drive and an installation CD-ROM that you can boot from. In this case, you vdump the filesystems to tape, put the new disk in, boot from CD, then run disklabel, make your new filesystems, and restore them from tape. This process is essentially covered in section 11.4.5 in the V4.0F System Admin manual, which is available at http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V40F_HTML/APS2RFTE/TITLE.HTM.
Hope this helps,
Martin
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 10:53 AM
тАО12-05-2008 10:53 AM
Re: Howto replace the system disk
Hopefully I will close this thread after success.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 12:52 PM
тАО12-05-2008 12:52 PM
Re: Howto replace the system disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 12:57 PM
тАО12-05-2008 12:57 PM
Re: Howto replace the system disk
# cd /dev
# ./MAKEDEV tz13 (13 = 8*1 + 5)
This will create the rmt0* devices for the tape.
Martin
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 01:14 PM
тАО12-05-2008 01:14 PM
Re: Howto replace the system disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2008 01:16 PM
тАО12-05-2008 01:16 PM
Re: Howto replace the system disk
http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V40F_HTML/APS2RFTE/TITLE.HTM
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2008 08:53 AM
тАО12-06-2008 08:53 AM
Re: Howto replace the system disk
I am "in the hands" of our equipment service engineer (our PWS5000au is controlling some complicated equipment) who is not very deep into computer management and our prescribed backup script is as follows:
umount /proc
mt -f /dev/nrmt0h rewind
vdump -0Nuf /dev/nrmt0h /
mount -t procfs /proc /proc
vdump -0Nuf /dev/nrmt0h /usr
vdump -0Nuf /dev/nrmt0h /usr/ebsys
vdump -0Nuf /dev/nrmt0h /usr/users
mt rewind
mt unload
and the restore
mt -f /dev/nrmt0h rewind
umount /proc
vrestore -x -f /dev/nrmt0h -D /
mount -t procfs /proc /proc
vrestore -x -f /dev/nrmt0h -D /usr
vrestore -x -f /dev/nrmt0h -D /usr/ebsys
vrestore -x -f /dev/nrmt0h -D /usr/users
mt rewind
mt unload
All very well, as long as you restore to a working disk, but I am now working from the install CD shell.
What to do about the /proc file system?
I am not sure what it is for, and I don't see it in /etc/fdmns. What do I mount to restore it?
Do you understand my question? I may not have expressed it very well...
Another thing:
My file domains are named rz16a, rz16g and rz16h.
My file systems are named rz16a#root, rz16g#usr, rz16h#ebsys and rz16h#users.
I was able to restore rz16a#root and rz16g#usr successfully. But then I got problems.
I mount by
mount -w -t advfs rz16h#ebsys /mnt
and restore
vrestore -x -f /dev/nrmt0h -D /mnt
Then I get (immediately)
/var: file system full
/var: write failed, file system is full
vrestore: dir_write() error [28] No space left on device; terminating
df shows
File systems 512-blocks Used Available Cap Mounted
rz16h#ebsys 24592944 32 24581248 1% /mnt
So what is the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2008 08:57 AM
тАО12-06-2008 08:57 AM
Re: Howto replace the system disk
I got all confused and screwed up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2008 03:48 AM
тАО12-07-2008 03:48 AM
Re: Howto replace the system disk
Mission completed, case closed, thanks a bundle.