Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Gregor Maier <gregor.maier@newlogic.com>
To: axp-list@redhat.com
Subject: Re: BSD disklabel problem ...
Date: Tue, 14 Aug 2001 08:58:19 +0200 (MEST)	[thread overview]
Message-ID: <XFMail.20010814085819.gregor.maier@newlogic.com> (raw)
In-Reply-To: <20010813102353.A6587@ellpspace.math.ualberta.ca>

I also experienced some problems with bsd disklabels. Every time I used BSD
disklabels on the second disk (sdb) it went fine for some time. But after 2 or
3 reboots the partiton table was gone. After restoring the partition table it
was the same again. 
I saw this in several AS200 and AS2000 machines. AFAIK  never used the c
partition. And I never had any problems with bsd disklabels on the first disk.
I also tried to leave about 5 MB free altough I didn't install aboot there (but
just to make sure it isn't that problem).
Maybe a problem with fdisk? 

Because I know of the fdisk bug (I think this is corrected now) that shows to
much sectors in fdisk while in BSD disklabel mode - so I left the last sector
free.

Gregor


On 13-Aug-2001 Michal Jaegermann wrote:
> On Mon, Aug 13, 2001 at 04:36:54PM +0200, Peter Mittermayer wrote:
>> 
>> Finally  I succeeded in installing the ide disk. I booted redhat and
>> started fdisk.
> 
> That would be the first time I heard of that fdisk influences if
> a disk is accessible or not (I mean not partitions, which cannot
> be seen if they do not exist, but a disk as a whole).
> 
>> I created a nsd disklabel (partition c only) taalking default values and
>> switching type to 8 (ext2).
> 
> Why 'c'?   Do you want to imply by that that you put the whole disk
> into that partition?
> 
>> Then I rebooted. The disk was recognized by
>> the kernel and the partition as hda3. I used mke2fs to format the disk
>> and (unfortunately) moved data from the old disk to the new one.
> 
> Your data still should be there unless you did something truly
> destructive.  How about backups?
> 
>> After
>> the next reboot however the disk was no longer accessible with the
>> message 'corrupt partition table'.
>> 
>> What happened?
> 
> Who knows?  Somehow I have an impression that you are telling only a
> small part of the story. Did you, by any chance, have done something
> like 'swriteboot -f3 ...' without leaving a space for it?
> 
> OTOH maybe you simply have a bad disk cable and/or connectors?  That
> would be consistent with intermitent failures.  In case you do not know
> IDE specs allow for a maximum cable length of 18" (about 45 cm) but I
> heard of cases when cables over 14" were too long.  With ATA disks and
> 80-wire cables this seems to be less popular but lots of older IDE parts
> were barely within specs if not below.
> 
>> What can I do to repair the partition table?
> 
> If you roughly know parameters of your original partition table
> then you can rewrite it back to the initial state as many times as
> you wish.  This does not affect your data at all and, unless you did
> something truly weird, your filesystem metadata as well.  Also
> 'gpart' utility (http://home.pages.de/~michab/gpart/) knows about
> BSD disk label kind of partitioning as well.  Still first make sure
> that your hardware actually works.
> 
>> How can I
>> get my data back??
> 
> There are always things like 'mke2fs -S', 'debugfs' and 'dd' when things
> are really messed up.  But hard disks do fail from time to time
> totally irrespective of OS, kinds of partitioning and so on ...
> 
>   Michal
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list

----------------------------------
E-Mail: Gregor Maier <gregor.maier@newlogic.com>
Date: 14-Aug-2001
Time: 08:52:31
----------------------------------




  reply	other threads:[~2001-08-14  6:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13 14:36 BSD disklabel problem Peter Mittermayer
2001-08-13 16:23 ` Michal Jaegermann
2001-08-14  6:58   ` Gregor Maier [this message]
2001-08-14  8:08     ` Peter Mittermayer
2001-08-14  9:01       ` Gregor Maier
2001-08-14  9:17         ` Peter Mittermayer
2001-08-14  9:35           ` Gregor Maier
2001-08-14 15:49           ` Michal Jaegermann
2001-08-14 15:34     ` Michal Jaegermann
2001-08-13 16:36 ` unsubscribe Ing. Mario Alejandro Juárez Gutiérrez
2001-08-13 17:46 ` BSD disklabel problem Falk Hueffner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox