- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Boot disk copy
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
тАО04-21-2005 08:25 AM
тАО04-21-2005 08:25 AM
Boot disk copy
I was wondering if anyone had a script that copied the boot disk to another disk??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2005 10:09 AM
тАО04-21-2005 10:09 AM
Re: Boot disk copy
Yes there are scripts: clone-system-v1.2 on
http://www.unix-wissen.de/Tru64/clone-cluster.html
and
http://www.unix-wissen.de/Tru64/cloning/
Beside that:
The most important thing compared to Solaris: In Tru64 a disk gets a diskname (/dev/disk/dsk7c) based on the Serial Number of the disk. You can move around a disk in a System and it keeps this diskname. It does not depend on the position on the SCSI Bus.
rgds Stiwi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2005 05:03 PM
тАО04-21-2005 05:03 PM
Re: Boot disk copy
Chk. man 8 btcreate and btextract scripts.
-Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 08:39 PM
тАО05-08-2005 08:39 PM
Re: Boot disk copy
The only way to get a backup is via btcreate, but if you replace the boot disk WWID may change depending on your hardware configuration leading to problems in later steps. Why not simple using RAID1 functionality and creating a backup via btcreate?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2005 04:50 PM
тАО05-26-2005 04:50 PM
Re: Boot disk copy
I can give you some simple steps that can be used to clon a boot disk
Assumptions: The boot disk is not LSM mirrored
a. Identify a same type (size) of disk for cloning say original is dsk0 and the clone is dsk1
b. Read the disklabel of existing boot disk to a file
#disklabel ├в r dsk0 > /tmp/dsk0.label
c. Disklabel the clone using command
#disklabel ├в R ├в r ├в t advfs dsk1 dsk0.label
d. Create the root domain and fileset on the clone
#mkfdmn /dev/disk/dsk0a root_clone_dmn
#mkfset root_clone_dmn root
mkdir /clone_root
#mount root_clone_dmn#root /clone_root
e. After this you can do a vdump of the existing root partition on the clone disk
vdump -0 -f - / | vrestore -x -f - -D /clone_root
repeat steps d. and e for /usr and /var if they are on the same disk as separate partitions
After this you can boot off of the clone disk.
If the root disk is in LSM mirror, you can go into /clone_root/etc/fdmns/root_domain and change the link to the plain disk instead of the LSM volume
# ln -s /dev/disk/dsk1a
and similarly for the /usr and /var if separate
That should be good enough to boot
there might be some cleanup required for lsm in the /etc/sysconfigtab file after yo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2005 10:51 PM
тАО08-01-2005 10:51 PM