From: jcd <jcd@seznam.cz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ext3 partition dissapeared :(
Date: Wed, 24 Jan 2007 19:37:16 +0100 [thread overview]
Message-ID: <1169663836.11076.23.camel@paulie.kitchen> (raw)
In-Reply-To: <200701232255.15179.alan@linuxholdings.co.za>
> You say in your original mail that after moving the data "everything was
> fine". What exactly do you mean by that:
>
> 1. The command ended without failure so you assume it moved stuff
> correctly, or
> 2. You proved the move was done by mounting the partition and all your
> files were there, or
> 3. Some other reason?
>
> alan
"Everything was fine" mean; I created partition and then formatted it
without any errors or warnings. There are messages from syslog:
-----------------------------------------------------------------------
Jan 22 23:43:16 localhost EXT3 FS on sdb1, internal journal
Jan 22 23:43:16 localhost EXT3-fs: mounted filesystem with ordered data
mode.
-----------------------------------------------------------------------
Then I copied my data to this new partition. I could access this data
from new partition without any problems. Next day:
-----------------------------------------------------------------------
Jan 23 10:23:46 localhost VFS: Can't find ext3 filesystem on dev sdb1.
-----------------------------------------------------------------------
> It looks like when you moved the data onto the new partition, it got
> written somewhere on the disk. However, the kernel's idea of how the
> partitions are laid out at that time and what fdisk just wrote to the
> disk probably don't agree and the kernel had got it wrong.... This does
> happen when you delete two or more partitions and create one large one.
Why it can happen when replacing two partitions with large one?
I tried gpart with this output:
-----------------------------------------------------------------------
#gpart /dev/sdb
Begin scan...
Possible partition(Windows NT/W2K FS), size(40959mb), offset(0mb)
Possible partition(Linux ext2), size(197512mb), offset(40959mb)
End scan.
Checking partitions...
Partition(OS/2 HPFS, NTFS, QNX or Advanced UNIX): primary
Partition(Linux ext2 filesystem): primary
Ok.
Guessed primary partition table:
Primary partition(1)
type: 007(0x07)(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
size: 40959mb #s(83885696) s(63-83885758)
chs: (0/1/1)-(1023/239/63)d (0/1/1)-(5547/239/62)r
Primary partition(2)
type: 131(0x83)(Linux ext2 filesystem)
size: 197512mb #s(404505360) s(83885760-488391119)
chs: (1023/239/63)-(1023/239/63)d (5548/0/1)-(32300/239/63)r
Primary partition(3)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
Primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
-----------------------------------------------------------------------
I also tried it with data about cylinders, sectors and heads taken from 'fdisk -l /dev/sdb'.
It produces same output. But I created ext3 on whole disk, I'm sure.
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-01-24 18:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-23 11:11 [gentoo-user] ext3 partition dissapeared :( jcd
2007-01-23 15:39 ` Alan McKinnon
2007-01-23 16:05 ` Sigfrido V. Ortiz C.
2007-01-23 20:55 ` Alan McKinnon
2007-01-23 16:17 ` jcd
2007-01-23 17:47 ` Hans-Werner Hilse
2007-01-23 20:55 ` Alan McKinnon
2007-01-24 18:09 ` jcd
2007-01-24 18:37 ` jcd [this message]
2007-01-25 7:54 ` Alan McKinnon
2007-01-25 9:12 ` Neil Bothwick
2007-01-25 9:28 ` Alan McKinnon
2007-01-25 9:40 ` Neil Bothwick
2007-01-25 11:25 ` jcd
2007-01-25 13:45 ` Hans-Werner Hilse
[not found] ` <1169747460.12582.3.camel@paulie.kitchen>
2007-01-25 18:33 ` Sigfrido V. Ortiz C.
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=1169663836.11076.23.camel@paulie.kitchen \
--to=jcd@seznam.cz \
--cc=gentoo-user@lists.gentoo.org \
/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