[Parted-maintainers] Bug#291234: parted: No Implementation: This ext2 filesystem has a rather strange layout! Parted No Implementation: This ext2 filesystem has a rather strange layout!
Joel Soete
"Joel Soete" <soete.joel@tiscali.be>, 291234@bugs.debian.org
Wed, 19 Jan 2005 15:47:11 +0100
Package: parted
Version: 1.6.11-9
Severity: normal
Hello all,
I am running a debian unstable' (today updated) with a developement kern=
el
2.6.11-rc1-pa3 on hppa box (b2000).
This system own 2 Disk: one boot disk of 9gb and a 'data' disk of 36Gb.
the boot disk sda has the following slicing schema (cfdisk):
Disk /dev/sda: 9100 MB, 9100044288 bytes
64 heads, 32 sectors/track, 8678 cylinders
Units =3D cylinders of 2048 * 512 =3D 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 61 62448 f0 Linux/PA-RISC boo=
t
/dev/sda2 62 306 250880 82 Linux swap / Sola=
ris
/dev/sda3 307 367 62464 83 Linux
/dev/sda4 368 8557 8386560 5 Extended
/dev/sda5 368 1953 1624048 83 Linux
/dev/sda6 1954 2197 249840 83 Linux
/dev/sda7 2198 2319 124912 83 Linux
/dev/sda8 2320 2441 124912 83 Linux
/dev/sda9 2442 4394 1999856 83 Linux
/dev/sda10 4395 6347 1999856 83 Linux
/dev/sda11 6348 8300 1999856 83 Linux
/dev/sda12 8301 8557 263152 83 Linux
And the second disk:
Disk /dev/sdb: 36.4 GB, 36420075520 bytes
64 heads, 32 sectors/track, 34732 cylinders
Units =3D cylinders of 2048 * 512 =3D 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 34732 35565552 83 Linux
As I don't need any more to have the full disk for a data slice on this d=
isk,
I would like to use parted to re-partition as:
/dev/sdb1 1 61 62448 f0 Linux/PA-RISC boo=
t
/dev/sdb2 62 306 250880 82 Linux swap / Sola=
ris
/dev/sdb3 307 367 62464 83 Linux
/dev/sdb4 368 8557 8386560 5 Extended
/dev/sdb5 368 1953 1624048 83 Linux
/dev/sdb6 1954 2197 249840 83 Linux
/dev/sdb7 2198 2319 124912 83 Linux
/dev/sdb8 2320 2441 124912 83 Linux
/dev/sdb9 2442 4394 1999856 83 Linux
/dev/sdb10 4395 6347 1999856 83 Linux
/dev/sdb11 6348 8300 1999856 83 Linux
/dev/sdb12 8301 34732 35565552 83 Linux
(for mirroring with raid1)
(in summary:
parted
resize 1 0.016 26432.000 (i.e. 34732 - 8300)
move 1 0.016 8300.000
then create sdb[1..11] )
but when I asked 'parted' to check the disk slice 1:
# ./parted/parted /dev/sdb
[...]
Using /dev/sdb
(parted) p
Disk geometry for /dev/sdb: 0.000-34732.890 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.016 34732.000 primary ext3
(parted) check 1
No Implementation: This ext2 filesystem has a rather strange layout! Par=
ted
can't resize this (yet).
So am I not very confident to go ahead ;-)
As sudgested on gnu site I grab the last 1.6.21 release which I build
# ../configure --prefix=3D/usr --sbindir=3D/sbin --mandir=3D\${prefix}/sh=
are/man
--infodir=3D\${prefix}/share/info --enable-mtrace --disable-shared --bui=
ld=3Dhppa-linux
--host=3Dhppa-linux
(as debian debug pkg would do?)
but the pb is the same:
# ./parted/parted /dev/sdb
GNU Parted 1.6.21
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.=
This program is distributed in the hope that it will be useful, but WITHO=
UT
ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General=
Public License for more details.
Using /dev/sdb
(parted) p
Disk geometry for /dev/sdb: 0.000-34732.890 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.016 34732.000 primary ext3
(parted) check 1
No Implementation: This ext2 filesystem has a rather strange layout! Par=
ted
can't resize this (yet).
OTC with the other disk no pb:
# parted /dev/sda
Warning: Unable to determine if partitions are mounted via /proc/mounts o=
r
/etc/mtab. Make sure you don't attempt to resize or
modify mounted file systems. (Even read-only mounted)
Ignore/Cancel? i
GNU Parted 1.6.11 with HFS shrink patch 12.5
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.=
This program is distributed in the hope that it will be useful, but WITHO=
UT
ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General=
Public License for more details.
Using /dev/sda
(parted) check 11
Information: The ext2 filesystem passed a basic check. For a more compre=
hensive
check, use the e2fsck program.
Thanks in advance for your attention,
Joel
-------------------------------------------------------------------------=
--
Tiscali solde! 1 mois et activation Gratuits, modem =E0 9,99=80
http://reg.tiscali.be/adsl/default.asp?lg=3DFR