[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9131.0. "Cannot write or read disklabel" by NETRIX::"[email protected]" (David Lebender) Wed Mar 12 1997 05:09

Hi,

on a Alphastation 255 running dUnix V40b a customer of mine has the following
problem: 

When he tries to read the label of a disk he gets an error message that the
disk 
is unlabled or does not start at block 0. This error message is 
independent of using rrz3a or rrz3c in the disklabel command. The disk was
used in a LSM configuration before. 

It is not possible to delete the disklabel by "disklabel -z" or write a new 
disklabel on the disk. Astonishingly after an reboot everything is OK. The 
disklabel can be readdd.

Does anyone know this phaenomen or could suggest a workaround for it?


- David

[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
9131.1in-memory copy of disklabel?NETRIX::"[email protected]"leon straussWed Mar 12 1997 16:3916
From the disklabel man page ...

  Each form has an additional option, -r, which causes the label to be read
  from or written to the disk directly, instead of reading the system's in-
  memory copy of the label.  When writing, the in-memory copy is also updated
  if the parameters are valid.  The -r option must be used if there is no
  label already on the disk.  This option may allow a label to be installed
  on a disk without kernel support for a label, such as when labels are first
  installed on a system.

Perhaps you were reading the in-memory disklabel.
When the system rebooted, the in-memory copy was cleared.
Hope this helps

	leon
[Posted by WWW Notes gateway]