* disklabel won't read/write label
@ 1996-02-19 5:00 Alaric S. Haag
1996-02-20 5:00 ` John Stoffel
1996-02-21 5:00 ` Tony Jones
0 siblings, 2 replies; 3+ messages in thread
From: Alaric S. Haag @ 1996-02-19 5:00 UTC (permalink / raw)
Hello all
!
I installed a Seagate barracuda drive in an Alpha 3000/600, but disklabel
won't seem to touch it. That is, when I try to either read any existing
label (-r or -rw) or write a new one (-z) it says:
Bad pack magic number (label is damaged, or pack is unlabeled)
Q1: Am I missing something obvious here (quite possible...)?
The fact is, I was able to proceed with newfs. However, I now have a
problem that I worry is related. An attempt to rdump this file system
gives:
# rdump -f remote:/dev/abi/qic /usr2
rdump: Dumping from host xxx.yyy.zzz
rdump: Date of this level 9 dump: Mon Feb 19 15:14:40 1996 CST
rdump: Date of last level 0 dump: the start of the epoch
rdump: Dumping /dev/rrz5c (/usr2) to /dev/abi/qic on host xxx.yyy.zzz
rdump: Mapping (Pass I) [regular files]
rdump: Corrupted directory, i-node: 2
rdump: SIGTERM received -- Try rewriting
rdump: Unexpected signal -- cannot recover
rdump: The ENTIRE dump is aborted
fsck doesn't find any problems...
Q2: Is this problem related to Q1? If not, any suggestions on this one?
Any and all suggestions/random acts of kindness are greatly appreciated!
--
Ric
%^{)
"I've got dust in my mind's eye!!"
[ Alaric S. Haag, Computer Manager haag@me.lsu.edu ]
[ Louisiana State University, Mech. Engr. Dept. FAX: (504) 388-5924 ]
[ Baton Rouge, LA 70803 Opinions: (504) 388-5897 ]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: disklabel won't read/write label
1996-02-19 5:00 disklabel won't read/write label Alaric S. Haag
@ 1996-02-20 5:00 ` John Stoffel
1996-02-21 5:00 ` Tony Jones
1 sibling, 0 replies; 3+ messages in thread
From: John Stoffel @ 1996-02-20 5:00 UTC (permalink / raw)
>>>>> "Alaric" == "Alaric S Haag" <haag@me.lsu.edu> writes:
In article <3128EA5C.794B@me.lsu.edu> "Alaric S. Haag" <haag@me.lsu.edu> writes:
Alaric> I installed a Seagate barracuda drive in an Alpha 3000/600,
Alaric> but disklabel won't seem to touch it. That is, when I try to
Alaric> either read any existing label (-r or -rw) or write a new one
Alaric> (-z) it says:
Alaric> Bad pack magic number (label is damaged, or pack is unlabeled)
Alaric> Q1: Am I missing something obvious here (quite possible...)?
Did you do
disklabel -rw rz5 rz5
to label the disk? This will force disklabel to ask the disk what it
thinks it's geometry is and write a default label back to the disk.
You can then use the -e option to edit the label.
Alaric> The fact is, I was able to proceed with newfs. However, I now
Alaric> have a problem that I worry is related. An attempt to rdump
Alaric> this file system gives:
Alaric> # rdump -f remote:/dev/abi/qic /usr2
Alaric> rdump: Dumping from host xxx.yyy.zzz
Alaric> rdump: Date of this level 9 dump: Mon Feb 19 15:14:40 1996 CST
Alaric> rdump: Date of last level 0 dump: the start of the epoch
Alaric> rdump: Dumping /dev/rrz5c (/usr2) to /dev/abi/qic on host xxx.yyy.zzz
Alaric> rdump: Mapping (Pass I) [regular files]
Alaric> rdump: Corrupted directory, i-node: 2
Alaric> rdump: SIGTERM received -- Try rewriting
Alaric> rdump: Unexpected signal -- cannot recover
Alaric> rdump: The ENTIRE dump is aborted
Alaric> fsck doesn't find any problems...
Alaric> Q2: Is this problem related to Q1? If not, any suggestions on
Alaric> this one?
I would suspect that this is related to problem #1 above.
John
John F. Stoffel | What we have here is a
john@wpi.edu | failure to communicate.
College Computer Center |
Workstation Specialist & Webmaster | Kill your television.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: disklabel won't read/write label
1996-02-19 5:00 disklabel won't read/write label Alaric S. Haag
1996-02-20 5:00 ` John Stoffel
@ 1996-02-21 5:00 ` Tony Jones
1 sibling, 0 replies; 3+ messages in thread
From: Tony Jones @ 1996-02-21 5:00 UTC (permalink / raw)
Alaric S. Haag (haag@me.lsu.edu) wrote:
: won't seem to touch it. That is, when I try to either read any existing
: label (-r or -rw) or write a new one (-z) it says:
: Bad pack magic number (label is damaged, or pack is unlabeled)
I've had the exact same problem many times. Usually when trying to dig LVM out
of a hole.
The only solution I ever found (tried disklabel -rw, -z, copying a known good
label using -R) was 'scu -f /dev/rrzNNc format' :-(
If anyone has a better solution to this, please post it.
tony
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-02-21 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-02-19 5:00 disklabel won't read/write label Alaric S. Haag
1996-02-20 5:00 ` John Stoffel
1996-02-21 5:00 ` Tony Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox