Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cgd trouble 2



Yesterday I was trying to erase the cgd, so it made sense that there would
be a warning trying to over-write the disklabel. So disklabel -W came to
the rescue.

Today I'm trying to write the cgd disklabel (and moved from offset 0 just in
case):

# disklabel -t sd0
smallbackup|Automatically generated label:\
        :dt=ESDI:se#512:ns#63:nt#16:sc#1008:nc#620181:\
        :pa#625142385:oa#63:ta=ccd:\
        :pc#625142385:oc#63:\
        :pd#625142448:od#0:
# disklabel -t cgd1
cgd|Automatically generated label:\
        :dt=cgd:se#512:ns#2048:nt#1:sc#2048:nc#305245:\
        :su#625142385:\
        :pa#625142385:oa#0:ta=4.2BSD:ba#0:fa#0:\
        :pd#625142385:od#0:
disklabel: boot block size 0
disklabel: super block size 0
# cat /etc/disktab
backupcgd:\
        :dt=cgd:se#512:ns#2048:nt#1:sc#2048:nc#305245:\
        :su#625142385:\
        :pa#625142322:oa#63:ta=4.2BSD:ba#0:fa#0:\
        :pc#625142322:oc#63:\
        :pd#625142385:od#0:
# disklabel -r -w cgd1 backupcgd
disklabel: disklabel write (sector 0) size 8192 failed: Read-only file system

?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index