xfs
[Top] [All Lists]

Re: disappearing xfs partition

To: linux-xfs@xxxxxxxxxxx
Subject: Re: disappearing xfs partition
From: Martin Steigerwald <Martin@xxxxxxxxxxxx>
Date: Tue, 11 Mar 2008 10:59:50 +0100
In-reply-to: <e03b90ae0803031856s42ddf82dudb7fa9d84a637498@xxxxxxxxxxxxxx>
References: <e03b90ae0803030514v585249ecjf93af325287b59f@xxxxxxxxxxxxxx> <e03b90ae0803031407n6693d1b3k268d8858504a9ce9@xxxxxxxxxxxxxx> <e03b90ae0803031856s42ddf82dudb7fa9d84a637498@xxxxxxxxxxxxxx> (sfid-20080304_090400_023531_C318561D)
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.9.9
Am Dienstag 04 März 2008 schrieb Jeff Breidenbach:
> Following up and close out the topic, I got this comment from Eric.
>
> >So parted has this bad habit of making partition tables that cannot
> >actually be read from the disk, and poking the supposedly values
> >directly into the kernel.  Then things work fine until reboot, at
> > which time the partition table cannot be properly read.   Usually
> > this turns into a truncated size due to an overflow....
>
> I'd been using cfdisk and not parted, but that's apparently what
> happened. Rewriting the partition table with cfdisk fixed everything
> and allowed the partition to mount. At least for this boot.

Hi Jan,

Its always a good idea to check whether the kernel reread the partition 
table after partitioning with

cat  /proc/partitions

If it doesn't have you can tell the kernel to do it manually:

blockdev --rereadpt /dev/sde

If that tells you something about device is busy or so you'd need to 
unmount partitions on it or reboot.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


<Prev in Thread] Current Thread [Next in Thread>