public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Steigerwald <Martin@lichtvoll.de>
To: linux-xfs@oss.sgi.com
Subject: Re: disappearing xfs partition
Date: Tue, 11 Mar 2008 10:59:50 +0100	[thread overview]
Message-ID: <200803111059.50596.Martin@lichtvoll.de> (raw)
In-Reply-To: <e03b90ae0803031856s42ddf82dudb7fa9d84a637498@mail.gmail.com>

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

      reply	other threads:[~2008-03-11  9:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-03 13:14 disappearing xfs partition Jeff Breidenbach
2008-03-03 13:58 ` Justin Piszcz
2008-03-03 16:20   ` Eric Sandeen
2008-03-03 17:01     ` Jeff Breidenbach
2008-03-03 20:31 ` Josef 'Jeff' Sipek
     [not found] ` <47CC3444.4070902@sandeen.net>
     [not found]   ` <e03b90ae0803031040i21e928f3ua75791921791705e@mail.gmail.com>
     [not found]     ` <47CC56CC.4020504@sandeen.net>
     [not found]       ` <e03b90ae0803031407n6693d1b3k268d8858504a9ce9@mail.gmail.com>
2008-03-04  2:56         ` Jeff Breidenbach
2008-03-11  9:59           ` Martin Steigerwald [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803111059.50596.Martin@lichtvoll.de \
    --to=martin@lichtvoll.de \
    --cc=linux-xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox