bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please, is anyone out there? More info


From: Steven W. Orr
Subject: Please, is anyone out there? More info
Date: Mon, 26 Sep 2005 11:44:53 -0400 (EDT)

I ran this on a Fedora Core 4 machine (latest parted) and got this message on a resize command:

Error: Filesystem has incompatible feature enabled

Note: This is a totally vanilla ext3 partition.

I put in some print statements into ext2.c
The stuff in comments is the output of having run the resize command.

I just don't understand what the code is complaining about.

        if ((EXT2_SUPER_FEATURE_COMPAT(fs->sb)
                        & ~(EXT3_FEATURE_COMPAT_HAS_JOURNAL |
                            EXT2_FEATURE_COMPAT_HAS_DIR_INDEX)) ||
            (EXT2_SUPER_FEATURE_INCOMPAT(fs->sb)
                        & ~(EXT2_FEATURE_INCOMPAT_FILETYPE |
                            EXT3_FEATURE_INCOMPAT_RECOVER)) ||
            (EXT2_SUPER_FEATURE_RO_COMPAT(fs->sb)
                        & ~(EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER |
                            EXT2_FEATURE_RO_COMPAT_LARGE_FILE)))
        {
            printf ( "EXT3_FEATURE_COMPAT_HAS_JOURNAL = %d\n",
                        EXT3_FEATURE_COMPAT_HAS_JOURNAL );
            /*
              (parted)  resize 5 137447 138000
EXT3_FEATURE_COMPAT_HAS_JOURNAL = 4
EXT2_FEATURE_COMPAT_HAS_DIR_INDEX = 32
EXT2_FEATURE_INCOMPAT_FILETYPE = 2
EXT3_FEATURE_INCOMPAT_RECOVER = 4
EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER = 1
EXT2_FEATURE_RO_COMPAT_LARGE_FILE = 2
Error: Filesystem has incompatible feature enabled
            */
            printf ( "EXT2_FEATURE_COMPAT_HAS_DIR_INDEX = %d\n",
                        EXT2_FEATURE_COMPAT_HAS_DIR_INDEX );
            printf ( "EXT2_FEATURE_INCOMPAT_FILETYPE = %d\n",
                        EXT2_FEATURE_INCOMPAT_FILETYPE );
            printf ( "EXT3_FEATURE_INCOMPAT_RECOVER = %d\n",
                        EXT3_FEATURE_INCOMPAT_RECOVER );
            printf ( "EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER = %d\n",
                        EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER );
            printf ( "EXT2_FEATURE_RO_COMPAT_LARGE_FILE = %d\n",
                        EXT2_FEATURE_RO_COMPAT_LARGE_FILE );
ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
                     _("Filesystem has incompatible feature enabled"));
                goto error_free_fs;
        }



--
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steve_orr at guardium dot com

---------- Forwarded message ----------
Date: Mon, 26 Sep 2005 09:47:05 -0400 (EDT)
From: Steven W. Orr <address@hidden>
To: parted <address@hidden>
Subject: Please, is anyone out there?

I have gotten no response at all since I posted. Can someone tell me what I'm doing wrong (if anything)? Does the resize command work? I really need a clue to get started.

TIA

--
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steve_orr at guardium dot com

---------- Forwarded message ----------
Date: Thu, 22 Sep 2005 17:48:41 -0400 (EDT)
From: Steven W. Orr <address@hidden>
To: parted <address@hidden>
Subject: Newbie question on resizing.

The platform that I'm working on is required to be Red Hat 9. On my machine I need to resize a partition. I unmounted it and issued a p command and a resize. I

Here's what I got:

address@hidden root]# parted /dev/sda
GNU Parted 1.6.3
Copyright (C) 1998, 1999, 2000, 2001, 2002 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 WITHOUT 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
Information: The operating system thinks the geometry on /dev/sda is
17849/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
(parted) p
Disk geometry for /dev/sda: 0.000-140014.394 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    101.975  primary   ext3        boot
2        101.975  20583.281  primary   ext2
3      20583.281 137446.743  primary   ext3
4     137446.743 140011.809  extended              lba
5     137446.774 139494.089  logical   ext3
6     139494.120 140003.964  logical   linux-swap
(parted) resize 2 101.975 10000
No Implementation: This ext2 filesystem has a rather strange layout! Parted
can't resize this (yet).
(parted)

I ran dumpe2fs and came up with these:
has_journal filetype needs_recovery sparse_super

Do I need to shut these off? Or does this version of parted not work on resizing ext2? Also, I tried it with journaling turned off.

Anyone? TIA

--
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steve_orr at guardium dot com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]