Re: [Jfs-discussion] jfs-1.0.15 on sparc32 eats partition table
Brought to you by:
blaschke-oss,
shaggyk
From: Florin I. <fl...@iu...> - 2002-03-11 19:43:18
|
On Mon, Mar 11, 2002 at 09:22:37AM -0600, Dave Kleikamp wrote: > On Sunday 10 March 2002 02:10 pm, Florin Iucha wrote: > > Hello, > > > > I have got linux-2.4 from vger patched with jfs-1.0.15 . The patches > > applied cleanly. > > > > I have rebooted with the new kernel and created a jfs partition on my > > second disk (/dev/sdb1). I have copied some stuff (my /var directory) > > onto that partition and rebooted. Upon reboot, the sdb disk had no > > partition table. As I was dumb enough to remove the /var partition, > > it will take a while before I can try to repeat the experiment ;^). >=20 > JFS shouldn't be able to touch the partition table. Just a guess, but=20 > could it be possible you formatted /dev/sdb instead of /dev/sdb1? Absolutely not. That was my first thought too, and I did it again, just to be sure. The following scenario: dd if=3D/dev/zero of=3D/dev/sdb bs=3D1M count=3D1 fdisk /dev/sdb <create SUN disklabel: sdb1 - linux, sdb2 - swap, sdb3 - whole disk> mkswap /dev/sdb2 mkfs.<type> /dev/sdb1 mount /dev/sdb1 /mnt <copy 100 MB of stuff (partition has almost 1 G)> reboot Works for ext3 and reiserfs and fails for jfs. Cheers, florin --=20 "If it's not broken, let's fix it till it is." 41A9 2BDE 8E11 F1C5 87A6 03EE 34B3 E075 3B90 DFE4 |