* restoring system disk on tru64 alpha
@ 2001-07-01 5:24 !!Tonnere de Brest
2001-07-01 8:57 ` Adam Price
2001-07-02 13:20 ` restoring system disk on tru64 alpha Axel K�ster
0 siblings, 2 replies; 11+ messages in thread
From: !!Tonnere de Brest @ 2001-07-01 5:24 UTC (permalink / raw)
as part of installing the same operating system, patches and software on 16
workstations, I did all the work on one workstation and was hoping to duplicate
the disk contents on to the other workstations. I dumped / and /usr partitions
on to an external disk. I then restored those partitions on to the internal
disk of another workstation, but it would not boot after that. It would not recognize the devices that represent the disk partitions. Is there a
command to set the boot sector? I remember on the SunOS, there was such a command:
12 Rot@museum /usr/kvm/mdec >installboot /Rot/boot bootsd /dev/rsd0a
Bootblock will contain a.out header
Boot block installed
the operating system version on the Alpha is:
57 Rot@congo /#uname -a
OSF1 congo.EECS.Berkeley.EDU V5.1 732 alpha alpha
Any help would be appreciated
Thank you very much.
If you have any questions, please don't hesitate to contact me.
Thanks, G Camij Toschian,
gct@cory.eecs.berkeley.edu, EECS Instructional & Electronics Support Group
/ 386 Cory Hall / 643-6138
gct@domainmart.net,
gchiht@2xtreme.net, 510 6436138, 510 5408013, 2500 Durant # 310,
Bk, CA 94704, Rotating Outage Block 02
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: restoring system disk on tru64 alpha
2001-07-01 5:24 restoring system disk on tru64 alpha !!Tonnere de Brest
@ 2001-07-01 8:57 ` Adam Price
2001-07-02 23:53 ` restoring system disk on tru64 alpha disklabel command is not working !!Tonnere de Brest
2001-07-02 13:20 ` restoring system disk on tru64 alpha Axel K�ster
1 sibling, 1 reply; 11+ messages in thread
From: Adam Price @ 2001-07-01 8:57 UTC (permalink / raw)
"!!Tonnere de Brest" <x@y.z.com> wrote in message news:3B3EB3EF.6223FFDE@y.z.com...
> as part of installing the same operating system, patches and software on 16
> workstations, I did all the work on one workstation and was hoping to duplicate
> the disk contents on to the other workstations. I dumped / and /usr partitions
> on to an external disk. I then restored those partitions on to the internal
> disk of another workstation, but it would not boot after that. It would not recognize the devices that represent the disk
partitions. Is there a
> command to set the boot sector?
Yes, look at the disklabel command From the man pages for 4.0F
-------
-t ufs|advfs| cdfs
Specifies which type of the local file system the boot blocks
describe, UFS, AdvFS, or CDFS.
-------
BTW on version 5 systems you may have some problems with this approach since the
WWID's of the disks will have changed.
I haven't come up with a consistent way of solving this problem and it is hampering
my DR procedure somewhat so if anyone has any ideas about cloning a V5 system
onto new hardware I'd love to hear it.
Adam
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: restoring system disk on tru64 alpha disklabel command is not working
2001-07-01 8:57 ` Adam Price
@ 2001-07-02 23:53 ` !!Tonnere de Brest
2001-07-03 6:18 ` Adam Price
0 siblings, 1 reply; 11+ messages in thread
From: !!Tonnere de Brest @ 2001-07-02 23:53 UTC (permalink / raw)
Adam Price wrote:
>
> "!!Tonnere de Brest" <x@y.z.com> wrote in message news:3B3EB3EF.6223FFDE@y.z.com...
> > as part of installing the same operating system, patches and software on 16
> > workstations, I did all the work on one workstation and was hoping to duplicate
> > the disk contents on to the other workstations. I dumped / and /usr partitions
> > on to an external disk. I then restored those partitions on to the internal
> > disk of another workstation, but it would not boot after that. It would not recognize the devices that represent the disk
> partitions. Is there a
> > command to set the boot sector?
>
> Yes, look at the disklabel command From the man pages for 4.0F
> -------
> -t ufs|advfs| cdfs
> Specifies which type of the local file system the boot blocks
> describe, UFS, AdvFS, or CDFS.
> -------
> BTW on version 5 systems you may have some problems with this approach since the
> WWID's of the disks will have changed.
> I haven't come up with a consistent way of solving this problem and it is hampering
> my DR procedure somewhat so if anyone has any ideas about cloning a V5 system
> onto new hardware I'd love to hear it.
> Adam
the disklabel command is not working for me:
69 Rot@congo /#hwmgr -view devices
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------
4: /dev/kevm
30: /dev/disk/dsk0c DEC RZ28D (C) DEC bus-0-targ-0-lun-0
31: /dev/disk/cdrom0c DEC RRD46 (C) DEC bus-0-targ-4-lun-0
32: /dev/disk/dsk1c SEAGATE ST39173N bus-0-targ-5-lun-0
33: /dev/disk/dsk2c SEAGATE ST318417N bus-0-targ-3-lun-0
70 Rot@congo /#disklabel -r RZ28DB
disklabel: RZ28DB: No such file or directory
71 Rot@congo /#disklabel -r rz28db
disklabel: rz28db: No such file or directory
72 Rot@congo /#uname -a
OSF1 congo.EECS.Berkeley.EDU V5.1 732 alpha alpha
also, when I boot from cdrom, sometimes it does not recognize the internal
disk, I have to do a halt and
set BOOTDEF_DEV ""
I have 4 partitions on the internal disk:
(all bsd expect the swap)
/dev/disk/dsk0a /
/dev/disk/dsk0g /usr
/dev/disk/dsk0h /var
/dev/disk/dsk0b swap
Thank you very much.
If you have any questions, please don't hesitate to contact me.
Thanks, G Camij Toschian,
gct@cory.eecs.berkeley.edu, EECS Instructional & Electronics Support Group
/ 386 Cory Hall / 643-6138
gct@domainmart.net,
gchiht@2xtreme.net, 510 6436138, 510 5408013, 2500 Durant # 310,
Bk, CA 94704, Rotating Outage Block 02
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: restoring system disk on tru64 alpha disklabel command is not working
2001-07-02 23:53 ` restoring system disk on tru64 alpha disklabel command is not working !!Tonnere de Brest
@ 2001-07-03 6:18 ` Adam Price
2001-07-03 16:45 ` !!Tonnere de Brest
2001-07-04 2:09 ` !!Tonnere de Brest
0 siblings, 2 replies; 11+ messages in thread
From: Adam Price @ 2001-07-03 6:18 UTC (permalink / raw)
"!!Tonnere de Brest" <x@y.z.com> wrote in message news:3B410967.46220240@y.z.com...
> Adam Price wrote:
> >
> > "!!Tonnere de Brest" <x@y.z.com> wrote in message news:3B3EB3EF.6223FFDE@y.z.com...
> > > as part of installing the same operating system, patches and software on 16
> > > workstations, I did all the work on one workstation and was hoping to duplicate
> > > the disk contents on to the other workstations. I dumped / and /usr partitions
> > > on to an external disk. I then restored those partitions on to the internal
> > > disk of another workstation, but it would not boot after that. It would not recognize the devices that represent the disk
> > partitions. Is there a
> > > command to set the boot sector?
> >
> > Yes, look at the disklabel command From the man pages for 4.0F
> > -------
> > -t ufs|advfs| cdfs
> > Specifies which type of the local file system the boot blocks
> > describe, UFS, AdvFS, or CDFS.
> > -------
> > BTW on version 5 systems you may have some problems with this approach since the
> > WWID's of the disks will have changed.
> > I haven't come up with a consistent way of solving this problem and it is hampering
> > my DR procedure somewhat so if anyone has any ideas about cloning a V5 system
> > onto new hardware I'd love to hear it.
> > Adam
>
> the disklabel command is not working for me:
>
> 69 Rot@congo /#hwmgr -view devices
> HWID: Device Name Mfg Model Location
> ------------------------------------------------------------------------------
> 4: /dev/kevm
> 30: /dev/disk/dsk0c DEC RZ28D (C) DEC bus-0-targ-0-lun-0
> 31: /dev/disk/cdrom0c DEC RRD46 (C) DEC bus-0-targ-4-lun-0
> 32: /dev/disk/dsk1c SEAGATE ST39173N bus-0-targ-5-lun-0
> 33: /dev/disk/dsk2c SEAGATE ST318417N bus-0-targ-3-lun-0
> 70 Rot@congo /#disklabel -r RZ28DB
> disklabel: RZ28DB: No such file or directory
> 71 Rot@congo /#disklabel -r rz28db
> disklabel: rz28db: No such file or directory
> 72 Rot@congo /#uname -a
> OSF1 congo.EECS.Berkeley.EDU V5.1 732 alpha alpha
OK The first problem you have is that the CDrom Drive and the first
disk in the system (The rz28D) are both set to scsi id 4. This is a
hardware problem, shut the machine down and change some jumpers.
Next... The commands you tried were wrong. You need to reference
the disk as /dev/disk/dsk0c (The device special file) not RZ28D (The
type of disk).
Also as I said using dd to copy version 5 system disks will cause you
problems. Your best bet for duplicating installs on a V5 system is to
use the 'clone' install feature (Look at the advanced installation guide
on the doc's CD).
Hope this helps
Adam
PS Disklabel can destroy data if you don't know what you are doing
or don't have a good backup of the disk then don't play with it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: restoring system disk on tru64 alpha disklabel command is not working
2001-07-03 6:18 ` Adam Price
@ 2001-07-03 16:45 ` !!Tonnere de Brest
2001-07-04 2:09 ` !!Tonnere de Brest
1 sibling, 0 replies; 11+ messages in thread
From: !!Tonnere de Brest @ 2001-07-03 16:45 UTC (permalink / raw)
Adam Price wrote:
>
> "!!Tonnere de Brest" <x@y.z.com> wrote in message news:3B410967.46220240@y.z.com...
> > Adam Price wrote:
> > >
> > > "!!Tonnere de Brest" <x@y.z.com> wrote in message news:3B3EB3EF.6223FFDE@y.z.com...
> > > > as part of installing the same operating system, patches and software on 16
> > > > workstations, I did all the work on one workstation and was hoping to duplicate
> > > > the disk contents on to the other workstations. I dumped / and /usr partitions
> > > > on to an external disk. I then restored those partitions on to the internal
> > > > disk of another workstation, but it would not boot after that. It would not recognize the devices that represent the disk
> > > partitions. Is there a
> > > > command to set the boot sector?
> > >
> > > Yes, look at the disklabel command From the man pages for 4.0F
> > > -------
> > > -t ufs|advfs| cdfs
> > > Specifies which type of the local file system the boot blocks
> > > describe, UFS, AdvFS, or CDFS.
> > > -------
> > > BTW on version 5 systems you may have some problems with this approach since the
> > > WWID's of the disks will have changed.
> > > I haven't come up with a consistent way of solving this problem and it is hampering
> > > my DR procedure somewhat so if anyone has any ideas about cloning a V5 system
> > > onto new hardware I'd love to hear it.
> > > Adam
> >
> > the disklabel command is not working for me:
> >
> > 69 Rot@congo /#hwmgr -view devices
> > HWID: Device Name Mfg Model Location
> > ------------------------------------------------------------------------------
> > 4: /dev/kevm
> > 30: /dev/disk/dsk0c DEC RZ28D (C) DEC bus-0-targ-0-lun-0
> > 31: /dev/disk/cdrom0c DEC RRD46 (C) DEC bus-0-targ-4-lun-0
> > 32: /dev/disk/dsk1c SEAGATE ST39173N bus-0-targ-5-lun-0
> > 33: /dev/disk/dsk2c SEAGATE ST318417N bus-0-targ-3-lun-0
> > 70 Rot@congo /#disklabel -r RZ28DB
> > disklabel: RZ28DB: No such file or directory
> > 71 Rot@congo /#disklabel -r rz28db
> > disklabel: rz28db: No such file or directory
> > 72 Rot@congo /#uname -a
> > OSF1 congo.EECS.Berkeley.EDU V5.1 732 alpha alpha
>
> OK The first problem you have is that the CDrom Drive and the first
> disk in the system (The rz28D) are both set to scsi id 4. This is a
> hardware problem, shut the machine down and change some jumpers.
>
the 1st disk has a target ID of 0 and NOT 4:
/dev/disk/dsk0c DEC RZ28D (C) DEC bus-0-targ-0-lun-0
> Next... The commands you tried were wrong. You need to reference
> the disk as /dev/disk/dsk0c (The device special file) not RZ28D (The
> type of disk).
this version of the command also gives errors:
73 Rot@congo /#disklabel -r /dev/disk/dsk0c
disklabel: /dev/disk/dsk0c: not a character device
>
> Also as I said using dd to copy version 5 system disks will cause you
> problems. Your best bet for duplicating installs on a V5 system is to
> use the 'clone' install feature (Look at the advanced installation guide
> on the doc's CD).
irrespective of whether I am trying to clone an installation or not, there
should be a way of restoring a system disk from backup. What if the system disk
crashes and I have 5 patch levels on top of the operating system, I should be
able to restore it from tape without having to do an install from scratch
followed by 5 patch installations. The documentation from
http://www.tru64unix.compaq.com/faqs/publications/pub_page/V51_DOCS/V51_DOCLIST.HTM
says you have to do disklabel, but they do not give a specific example.
>
> Hope this helps
> Adam
> PS Disklabel can destroy data if you don't know what you are doing
> or don't have a good backup of the disk then don't play with it.
Thank you very much.
If you have any questions, please don't hesitate to contact me.
Thanks, G Camij Toschian,
gct@cory.eecs.berkeley.edu, EECS Instructional & Electronics Support Group
/ 386 Cory Hall / 643-6138
gct@domainmart.net,
gchiht@2xtreme.net, 510 6436138, 510 5408013, 2500 Durant # 310,
Bk, CA 94704, Rotating Outage Block 02
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: restoring system disk on tru64 alpha disklabel command is not working
2001-07-03 6:18 ` Adam Price
2001-07-03 16:45 ` !!Tonnere de Brest
@ 2001-07-04 2:09 ` !!Tonnere de Brest
2001-07-04 7:21 ` Adam Price
1 sibling, 1 reply; 11+ messages in thread
From: !!Tonnere de Brest @ 2001-07-04 2:09 UTC (permalink / raw)
Adam Price wrote:
>
> "!!Tonnere de Brest" <x@y.z.com> wrote in message news:3B410967.46220240@y.z.com...
> > Adam Price wrote:
> > >
> > > "!!Tonnere de Brest" <x@y.z.com> wrote in message news:3B3EB3EF.6223FFDE@y.z.com...
> > > > as part of installing the same operating system, patches and software on 16
> > > > workstations, I did all the work on one workstation and was hoping to duplicate
> > > > the disk contents on to the other workstations. I dumped / and /usr partitions
> > > > on to an external disk. I then restored those partitions on to the internal
> > > > disk of another workstation, but it would not boot after that. It would not recognize the devices that represent the disk
> > > partitions. Is there a
> > > > command to set the boot sector?
> > >
> > > Yes, look at the disklabel command From the man pages for 4.0F
> > > -------
> > > -t ufs|advfs| cdfs
> > > Specifies which type of the local file system the boot blocks
> > > describe, UFS, AdvFS, or CDFS.
> > > -------
> > > BTW on version 5 systems you may have some problems with this approach since the
> > > WWID's of the disks will have changed.
> > > I haven't come up with a consistent way of solving this problem and it is hampering
> > > my DR procedure somewhat so if anyone has any ideas about cloning a V5 system
> > > onto new hardware I'd love to hear it.
> > > Adam
> >
> > the disklabel command is not working for me:
> >
> > 69 Rot@congo /#hwmgr -view devices
> > HWID: Device Name Mfg Model Location
> > ------------------------------------------------------------------------------
> > 4: /dev/kevm
> > 30: /dev/disk/dsk0c DEC RZ28D (C) DEC bus-0-targ-0-lun-0
> > 31: /dev/disk/cdrom0c DEC RRD46 (C) DEC bus-0-targ-4-lun-0
> > 32: /dev/disk/dsk1c SEAGATE ST39173N bus-0-targ-5-lun-0
> > 33: /dev/disk/dsk2c SEAGATE ST318417N bus-0-targ-3-lun-0
> > 70 Rot@congo /#disklabel -r RZ28DB
> > disklabel: RZ28DB: No such file or directory
> > 71 Rot@congo /#disklabel -r rz28db
> > disklabel: rz28db: No such file or directory
> > 72 Rot@congo /#uname -a
> > OSF1 congo.EECS.Berkeley.EDU V5.1 732 alpha alpha
>
> OK The first problem you have is that the CDrom Drive and the first
> disk in the system (The rz28D) are both set to scsi id 4. This is a
> hardware problem, shut the machine down and change some jumpers.
>
the 1st disk has a target ID of 0 and NOT 4:
/dev/disk/dsk0c DEC RZ28D (C) DEC bus-0-targ-0-lun-0
> Next... The commands you tried were wrong. You need to reference
> the disk as /dev/disk/dsk0c (The device special file) not RZ28D (The
> type of disk).
this version of the command also gives errors:
73 Rot@congo /#disklabel -r /dev/disk/dsk0c
disklabel: /dev/disk/dsk0c: not a character device
> Next... The commands you tried were wrong. You need to reference
> the disk as /dev/disk/dsk0c (The device special file) not RZ28D (The
> type of disk).
this version of the command also gives errors:
73 Rot@congo /#disklabel -r /dev/disk/dsk0c
disklabel: /dev/disk/dsk0c: not a character device
however, if you use the raw device, you get something:
76 Rot@congo /#disklabel -r /dev/rdisk/dsk0c
# /dev/rdisk/dsk0c:
type: SCSI
disk: RZ28D
label:
disklabel -r /dev/rdisk/dsk0c
also gives a similar result
78 Rot@congo /#disklabel -r dsk0
# /dev/rdisk/dsk0c:
type: SCSI
I could not figure out the exact command to insert a boot sector and whether
you have to do it before or after restoring the / filesystem and how can you
verify that the boot block is on the disk.
I had one instance where I installed the tru64 operating system and then I
restored the /usr filesystem from an external disk and when I tried to reboot,
it failed to recognize the internal disk. After I got the miniroot prompt,
hwmgr -view devices gave ? for the Device Name of RZ28D
>
> Also as I said using dd to copy version 5 system disks will cause you
> problems. Your best bet for duplicating installs on a V5 system is to
> use the 'clone' install feature (Look at the advanced installation guide
> on the doc's CD).
>
> Hope this helps
> Adam
> PS Disklabel can destroy data if you don't know what you are doing
> or don't have a good backup of the disk then don't play with it.
Thank you very much.
If you have any questions, please don't hesitate to contact me.
Thanks, G Camij Toschian,
gct@cory.eecs.berkeley.edu, EECS Instructional & Electronics Support Group
/ 386 Cory Hall / 643-6138
gct@domainmart.net,
gchiht@2xtreme.net, 510 6436138, 510 5408013, 2500 Durant # 310,
Bk, CA 94704, Rotating Outage Block 02
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: restoring system disk on tru64 alpha disklabel command is not working
2001-07-04 2:09 ` !!Tonnere de Brest
@ 2001-07-04 7:21 ` Adam Price
0 siblings, 0 replies; 11+ messages in thread
From: Adam Price @ 2001-07-04 7:21 UTC (permalink / raw)
"!!Tonnere de Brest" <x@y.z.com> wrote in message news:3B427AB8.2BF6239E@y.z.com...
> Adam Price wrote:
> > OK The first problem you have is that the CDrom Drive and the first
> > disk in the system (The rz28D) are both set to scsi id 4. This is a
> > hardware problem, shut the machine down and change some jumpers.
> >
> the 1st disk has a target ID of 0 and NOT 4:
I know, sorry.
I was posting before coffee and that's a bad thing,
feel free to ignore all that I said on the subject except the plea that
if you find a way to restore your system disk(Cluster root) from
an image backup (In particular in a cluster environment) and a boot
cd onto new hardware then I'd like to know.
Sorry to have added to your confusion.
Adam
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: restoring system disk on tru64 alpha
2001-07-01 5:24 restoring system disk on tru64 alpha !!Tonnere de Brest
2001-07-01 8:57 ` Adam Price
@ 2001-07-02 13:20 ` Axel K�ster
2001-07-02 17:16 ` Mike Simon
1 sibling, 1 reply; 11+ messages in thread
From: Axel K�ster @ 2001-07-02 13:20 UTC (permalink / raw)
On Sat, 30 Jun 2001 22:24:01 -0700, "!!Tonnere de Brest" <x@y.z.com> wrote:
>as part of installing the same operating system, patches and software on 16
>workstations, I did all the work on one workstation and was hoping to duplicate
>the disk contents on to the other workstations. I dumped / and /usr partitions
>on to an external disk. I then restored those partitions on to the internal
>disk of another workstation, but it would not boot after that. It would not recognize the devices that represent the disk partitions. Is there a
>command to set the boot sector? I remember on the SunOS, there was such a command:
>12 Rot@museum /usr/kvm/mdec >installboot /Rot/boot bootsd /dev/rsd0a
>Bootblock will contain a.out header
>Boot block installed
>
>the operating system version on the Alpha is:
>57 Rot@congo /#uname -a
>OSF1 congo.EECS.Berkeley.EDU V5.1 732 alpha alpha
>
>Any help would be appreciated
>
Hi,
I did a similar task with cloning the entire disk.
I put the target disk in the source node and (in single user mode) cloned with
dd if=/dev/rrz0 of=/dev/rrz5 bs=<as much as possible>
It took less than one hour for one disk (16 GB) and copied anything including
the LSM setup of the root disk.
Axel
>Thank you very much.
>If you have any questions, please don't hesitate to contact me.
> Thanks, G Camij Toschian,
>gct@cory.eecs.berkeley.edu, EECS Instructional & Electronics Support Group
> / 386 Cory Hall / 643-6138
>
>gct@domainmart.net,
> gchiht@2xtreme.net, 510 6436138, 510 5408013, 2500 Durant # 310,
>Bk, CA 94704, Rotating Outage Block 02
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: restoring system disk on tru64 alpha
2001-07-02 13:20 ` restoring system disk on tru64 alpha Axel K�ster
@ 2001-07-02 17:16 ` Mike Simon
2001-07-02 18:15 ` Adam Price
2001-07-02 22:56 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 2 replies; 11+ messages in thread
From: Mike Simon @ 2001-07-02 17:16 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2092 bytes --]
Hi *,
is "dd" realy supported by compaq (Tru64), to clone a system disk ?
What about BBRs (Bad Block Replacement) - Information? Are
those information copied to the destination, too? If yes, this would be
an unpredictable behavior. The original information on the target disk
might be overwritten.
greetings , Mike
"Axel K�ster" <a.kuester@ostalb.netsurf.de> schrieb im Newsbeitrag
news:44t0ktgs8ri9p4bvchvc0umemitbqgqmm6@4ax.com...
> On Sat, 30 Jun 2001 22:24:01 -0700, "!!Tonnere de Brest" <x@y.z.com>
wrote:
>
> >as part of installing the same operating system, patches and software on
16
> >workstations, I did all the work on one workstation and was hoping to
duplicate
> >the disk contents on to the other workstations. I dumped / and /usr
partitions
> >on to an external disk. I then restored those partitions on to the
internal
> >disk of another workstation, but it would not boot after that. It would
not recognize the devices that represent the disk partitions. Is there a
> >command to set the boot sector? I remember on the SunOS, there was such a
command:
> >12 Rot@museum /usr/kvm/mdec >installboot /Rot/boot bootsd /dev/rsd0a
> >Bootblock will contain a.out header
> >Boot block installed
> >
> >the operating system version on the Alpha is:
> >57 Rot@congo /#uname -a
> >OSF1 congo.EECS.Berkeley.EDU V5.1 732 alpha alpha
> >
> >Any help would be appreciated
> >
>
> Hi,
>
> I did a similar task with cloning the entire disk.
>
> I put the target disk in the source node and (in single user mode) cloned
with
>
> dd if=/dev/rrz0 of=/dev/rrz5 bs=<as much as possible>
>
> It took less than one hour for one disk (16 GB) and copied anything
including
> the LSM setup of the root disk.
>
> Axel
>
> >Thank you very much.
> >If you have any questions, please don't hesitate to contact me.
> > Thanks, G Camij Toschian,
> >gct@cory.eecs.berkeley.edu, EECS Instructional & Electronics Support
Group
> > / 386 Cory Hall / 643-6138
> >
> >gct@domainmart.net,
> > gchiht@2xtreme.net, 510 6436138, 510 5408013, 2500 Durant # 310,
> >Bk, CA 94704, Rotating Outage Block 02
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: restoring system disk on tru64 alpha
2001-07-02 17:16 ` Mike Simon
@ 2001-07-02 18:15 ` Adam Price
2001-07-02 22:56 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 0 replies; 11+ messages in thread
From: Adam Price @ 2001-07-02 18:15 UTC (permalink / raw)
"Mike Simon" <mike.simon@gmx.de> wrote in message news:3b40aee5$0$6889$9b622d9e@news.freenet.de...
> Hi *,
>
> is "dd" realy supported by compaq (Tru64), to clone a system disk ?
> What about BBRs (Bad Block Replacement) - Information? Are
> those information copied to the destination, too? If yes, this would be
> an unpredictable behavior. The original information on the target disk
> might be overwritten.
>
> greetings , Mike
>
Even if it were supported in V4 (And I would still say that vdump is a better
way to go) then in V5 you will have problems.
HTH
Adam
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: restoring system disk on tru64 alpha
2001-07-02 17:16 ` Mike Simon
2001-07-02 18:15 ` Adam Price
@ 2001-07-02 22:56 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 0 replies; 11+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-07-02 22:56 UTC (permalink / raw)
In article <3b40aee5$0$6889$9b622d9e@news.freenet.de>, "Mike Simon" <mike.simon@gmx.de> writes:
>From: "Mike Simon" <mike.simon@gmx.de>
>Newsgroups: comp.unix.tru64
>Subject: Re: restoring system disk on tru64 alpha
>
>Hi *,
>
>is "dd" realy supported by compaq (Tru64), to clone a system disk ?
Before V5 the answer would be "of course". Through the end of
V4, blocks were blocks. I don't have direct experience with
it, but apparently something in V5 remembers which disk was
the system disk (more than just a line in /etc/fstab or a link
under /etc/fdmns). This limits the usefulness of all the classic
methods of making a system disk clone.
>What about BBRs (Bad Block Replacement) - Information? Are
>those information copied to the destination, too?
I think there are three cases of interest:
1. A bad block is still bad.
2. A bad block has been replaced by a good block and correct
data copied to it.
3. A bad block has been replaced by a good block and the
correct data wasn't available.
Left to itself, the operating system won't replace a bad block
if it can't get a good copy of the data. Poorly behaved I/O
subsystems may replace the bad block for you and lose track
of the fact that they couldn't get good data. Well behaved
subsystems will keep track and will probably indicate the block
is still bad when read. Using the normal options, dd(1) will
fail in the this case with an I/O error.
So, while it is possible to lose track of the fact that a block doesn't
contain the data written to it originally, you'll have to work at it.
>If yes, this would be
>an unpredictable behavior. The original information on the target disk
>might be overwritten.
>
>greetings , Mike
>> dd if=/dev/rrz0 of=/dev/rrz5 bs=<as much as possible>
This example is reasonable for V4 and earlier, though I don't
think dd(1) will fill in the partition letter.
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2001-07-04 7:21 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-01 5:24 restoring system disk on tru64 alpha !!Tonnere de Brest
2001-07-01 8:57 ` Adam Price
2001-07-02 23:53 ` restoring system disk on tru64 alpha disklabel command is not working !!Tonnere de Brest
2001-07-03 6:18 ` Adam Price
2001-07-03 16:45 ` !!Tonnere de Brest
2001-07-04 2:09 ` !!Tonnere de Brest
2001-07-04 7:21 ` Adam Price
2001-07-02 13:20 ` restoring system disk on tru64 alpha Axel K�ster
2001-07-02 17:16 ` Mike Simon
2001-07-02 18:15 ` Adam Price
2001-07-02 22:56 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox