* disappearing xfs partition
@ 2008-03-03 13:14 Jeff Breidenbach
2008-03-03 13:58 ` Justin Piszcz
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Jeff Breidenbach @ 2008-03-03 13:14 UTC (permalink / raw)
To: xfs
I have no special reason to believe this is xfs specific, but
is it common for partitions to vanish from the face of the
earth, at least as far as mount is concerned? I usually mount
by UUID, but here's a sightly interesting transcript by drive
letters. If this is not xfs relevant, any suggestions where
to start digging?
This is a standard format XFS partition, created with an
xfsprogs that I compiled a couple weeks ago from a source
code download. Note that other xfs partitions are mounting
fine on the same machine.
-- after a fresh reboot ---
# cfdisk /dev/sde
Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
sde1 Primary Linux XFS 1000202.28
# mount /dev/sde1 /mnt
mount: special device /dev/sde1 does not exist
# xfs_check /dev/sde1
/dev/sde1: No such file or directory
fatal error -- couldn't initialize XFS library
# fdisk /dev/sde
The number of cylinders for this disk is set to 121601.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sde1 1 121601 976760001 83 Linux
# cat /proc/version
Linux version 2.6.24-8-server (buildd@yellow) (gcc version 4.2.3
(Ubuntu 4.2.3-1ubuntu2)) #1 SMP Thu Feb 14 20:42:20 UTC 2008
# dpkg -l xfsprogs
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii xfsprogs 2.9.5-1 Utilities for managing the XFS filesystem
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: disappearing xfs partition
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 20:31 ` Josef 'Jeff' Sipek
[not found] ` <47CC3444.4070902@sandeen.net>
2 siblings, 1 reply; 7+ messages in thread
From: Justin Piszcz @ 2008-03-03 13:58 UTC (permalink / raw)
To: Jeff Breidenbach; +Cc: xfs
Looks like a udev problem or something is not making /dev/sde1? Have you
tried a manual mknod of the device?
On Mon, 3 Mar 2008, Jeff Breidenbach wrote:
> I have no special reason to believe this is xfs specific, but
> is it common for partitions to vanish from the face of the
> earth, at least as far as mount is concerned? I usually mount
> by UUID, but here's a sightly interesting transcript by drive
> letters. If this is not xfs relevant, any suggestions where
> to start digging?
>
> This is a standard format XFS partition, created with an
> xfsprogs that I compiled a couple weeks ago from a source
> code download. Note that other xfs partitions are mounting
> fine on the same machine.
>
>
> -- after a fresh reboot ---
>
> # cfdisk /dev/sde
>
> Name Flags Part Type FS Type [Label] Size (MB)
> ------------------------------------------------------------------------------
> sde1 Primary Linux XFS 1000202.28
>
> # mount /dev/sde1 /mnt
> mount: special device /dev/sde1 does not exist
>
> # xfs_check /dev/sde1
> /dev/sde1: No such file or directory
>
> fatal error -- couldn't initialize XFS library
>
> # fdisk /dev/sde
>
> The number of cylinders for this disk is set to 121601.
> There is nothing wrong with that, but this is larger than 1024,
> and could in certain setups cause problems with:
> 1) software that runs at boot time (e.g., old versions of LILO)
> 2) booting and partitioning software from other OSs
> (e.g., DOS FDISK, OS/2 FDISK)
>
> Command (m for help): p
>
> Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
> 255 heads, 63 sectors/track, 121601 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x00000000
>
> Device Boot Start End Blocks Id System
> /dev/sde1 1 121601 976760001 83 Linux
>
> # cat /proc/version
> Linux version 2.6.24-8-server (buildd@yellow) (gcc version 4.2.3
> (Ubuntu 4.2.3-1ubuntu2)) #1 SMP Thu Feb 14 20:42:20 UTC 2008
>
> # dpkg -l xfsprogs
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name Version Description
> +++-==============-==============-============================================
> ii xfsprogs 2.9.5-1 Utilities for managing the XFS filesystem
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: disappearing xfs partition
2008-03-03 13:58 ` Justin Piszcz
@ 2008-03-03 16:20 ` Eric Sandeen
2008-03-03 17:01 ` Jeff Breidenbach
0 siblings, 1 reply; 7+ messages in thread
From: Eric Sandeen @ 2008-03-03 16:20 UTC (permalink / raw)
To: Justin Piszcz; +Cc: Jeff Breidenbach, xfs
Justin Piszcz wrote:
> Looks like a udev problem or something is not making /dev/sde1? Have you
> tried a manual mknod of the device?
but... it is not an xfs problem. :)
(also check /proc/partitions for sde1...)
-Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: disappearing xfs partition
2008-03-03 16:20 ` Eric Sandeen
@ 2008-03-03 17:01 ` Jeff Breidenbach
0 siblings, 0 replies; 7+ messages in thread
From: Jeff Breidenbach @ 2008-03-03 17:01 UTC (permalink / raw)
To: Eric Sandeen; +Cc: Justin Piszcz, xfs
On Mon, Mar 3, 2008 at 8:20 AM, Eric Sandeen <sandeen@sandeen.net> wrote:
> Justin Piszcz wrote:
> > Looks like a udev problem or something is not making /dev/sde1? Have you
> > tried a manual mknod of the device?
# mknod /dev/sde1 b 8 65
# mount /dev/sde1 /data2
mount: /dev/sde1 is not a valid block device
> but... it is not an xfs problem. :)
Sorry for posting.
> (also check /proc/partitions for sde1...)
Not present.
# grep sde /proc/partitions
8 64 976762584 sde
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: disappearing xfs partition
2008-03-03 13:14 disappearing xfs partition Jeff Breidenbach
2008-03-03 13:58 ` Justin Piszcz
@ 2008-03-03 20:31 ` Josef 'Jeff' Sipek
[not found] ` <47CC3444.4070902@sandeen.net>
2 siblings, 0 replies; 7+ messages in thread
From: Josef 'Jeff' Sipek @ 2008-03-03 20:31 UTC (permalink / raw)
To: Jeff Breidenbach; +Cc: xfs
On Mon, Mar 03, 2008 at 05:14:38AM -0800, Jeff Breidenbach wrote:
...
> # dpkg -l xfsprogs
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name Version Description
> +++-==============-==============-============================================
> ii xfsprogs 2.9.5-1 Utilities for managing the XFS filesystem
As others have already pointed out, the problem you have is not with XFS,
but probably with udev.
You may want to upgrade your xfsprogs. Version 2.9.5 has a buggy mkfs (the
fs it makes uses only about 3/4 of the partition).
Josef 'Jeff' Sipek.
--
Computer Science is no more about computers than astronomy is about
telescopes.
- Edsger Dijkstra
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <47CC3444.4070902@sandeen.net>]
end of thread, other threads:[~2008-03-11 9:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox