Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   64 Studio Developer (http://www.linux-archive.org/64-studio-developer/)
-   -   GParted issue with ext4 fs (http://www.linux-archive.org/64-studio-developer/362752-gparted-issue-ext4-fs.html)

Ralf Mardorf 04-27-2010 04:52 PM

GParted issue with ext4 fs
 
Hi :)

because the 3.3 alpha is rudimentary, for me it's still important to
keep 3.0-beta3 upgraded.

The Hardy packages for GParted are 0.3.5 versions. The latest version
for Hardy is detecting ext4, as an ext3 file system, however, this
version displays info for size, used and unused space.

I build the current version, wget
http://sourceforge.net/projects/gparted/files/gparted/gparted-0.5.2/gparted-0.5.2.tar.bz2/download,
the kernel is $ uname -r 2.6.31.12-rt20. Now GParted is detecting ext4,
as an ext4 file system, btw. it's the partition for 3.3 alpha :), but
for ext4 it only displays the size, there's no information about used
and unused space :D.

Any ideas what I'm missing?

Cheers!

Ralf
_______________________________________________
64studio-devel mailing list
64studio-devel@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-devel

Ralf Mardorf 04-27-2010 04:52 PM

GParted issue with ext4 fs
 
Hi :)

because the 3.3 alpha is rudimentary, for me it's still important to
keep 3.0-beta3 upgraded.

The Hardy packages for GParted are 0.3.5 versions. The latest version
for Hardy is detecting ext4, as an ext3 file system, however, this
version displays info for size, used and unused space.

I build the current version, wget
http://sourceforge.net/projects/gparted/files/gparted/gparted-0.5.2/gparted-0.5.2.tar.bz2/download,
the kernel is $ uname -r 2.6.31.12-rt20. Now GParted is detecting ext4,
as an ext4 file system, btw. it's the partition for 3.3 alpha :), but
for ext4 it only displays the size, there's no information about used
and unused space :D.

Any ideas what I'm missing?

Cheers!

Ralf
_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users

Ralf Mardorf 04-27-2010 05:02 PM

GParted issue with ext4 fs
 
> Hi :)
>
> because the 3.3 alpha is rudimentary, for me it's still important to
> keep 3.0-beta3 upgraded.
>
> The Hardy packages for GParted are 0.3.5 versions. The latest version
> for Hardy is detecting ext4, as an ext3 file system, however, this
> version displays info for size, used and unused space.
>
> I build the current version, wget
> http://sourceforge.net/projects/gparted/files/gparted/gparted-0.5.2/gparted-0.5.2.tar.bz2/download,
> the kernel is $ uname -r 2.6.31.12-rt20. Now GParted is detecting ext4,
> as an ext4 file system, btw. it's the partition for 3.3 alpha :), but
> for ext4 it only displays the size, there's no information about used
> and unused space :D.
>
> Any ideas what I'm missing?
>
> Cheers!
>
> Ralf

spinymouse-sudo@64studio:/boot$ cat config-2.6.31.12-rt20 | grep EXT4
CONFIG_EXT4_FS=m
CONFIG_EXT4DEV_COMPAT=y
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
spinymouse-sudo@64studio:/boot$ cat /proc/modules | grep ext4
spinymouse-sudo@64studio:/boot$

I only need to scroogle for the module's name and then load it. I
suppose so ;).
_______________________________________________
64studio-devel mailing list
64studio-devel@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-devel

Ralf Mardorf 04-27-2010 05:19 PM

GParted issue with ext4 fs
 
Sorry for that noise :)

>> Hi :)
>>
>> because the 3.3 alpha is rudimentary, for me it's still important to
>> keep 3.0-beta3 upgraded.
>>
>> The Hardy packages for GParted are 0.3.5 versions. The latest version
>> for Hardy is detecting ext4, as an ext3 file system, however, this
>> version displays info for size, used and unused space.
>>
>> I build the current version, wget
>> http://sourceforge.net/projects/gparted/files/gparted/gparted-0.5.2/gparted-0.5.2.tar.bz2/download,
>> the kernel is $ uname -r 2.6.31.12-rt20. Now GParted is detecting ext4,
>> as an ext4 file system, btw. it's the partition for 3.3 alpha :), but
>> for ext4 it only displays the size, there's no information about used
>> and unused space :D.
>>
>> Any ideas what I'm missing?
>>
>> Cheers!
>>
>> Ralf
>>
>
> spinymouse-sudo@64studio:/boot$ cat config-2.6.31.12-rt20 | grep EXT4
> CONFIG_EXT4_FS=m
> CONFIG_EXT4DEV_COMPAT=y
> CONFIG_EXT4_FS_XATTR=y
> CONFIG_EXT4_FS_POSIX_ACL=y
> CONFIG_EXT4_FS_SECURITY=y
> spinymouse-sudo@64studio:/boot$ cat /proc/modules | grep ext4
> spinymouse-sudo@64studio:/boot$
>
> I only need to scroogle for the module's name and then load it. I
> suppose so ;).

I asked the linux-image package information instead of Scroogle:

/lib/modules/2.6.31.12-rt20/kernel/fs/ext4
/lib/modules/2.6.31.12-rt20/kernel/fs/ext4/ext4.ko

root@64studio:~# modprobe ext4
root@64studio:~# gparted
======================
libparted : 1.7.1
======================
root@64studio:~# cat /proc/modules | grep ext4
ext4 310192 0 - Live 0xffffffffa0580000
jbd2 80592 1 ext4, Live 0xffffffffa0567000
crc16 2272 1 ext4, Live 0xffffffffa0564000
mbcache 8944 2 ext4,ext3, Live 0xffffffffa01e8000

Unfortunately GParted still doesn't inform about used and unused space
for ext4 file systems.

Cheers!

Ralf
_______________________________________________
64studio-devel mailing list
64studio-devel@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-devel

Ralf Mardorf 04-27-2010 06:56 PM

GParted issue with ext4 fs
 
Again, sorry for the noise, OTOH hopefully it might help somebody.

GParted > View > File System Support gives the answer, e2fsprogs v1.41+
is needed, but 1.40.8 is installed. I didn't remove the package, because
checkinstall failed, but AFAICT nothing is broken after I did the following.

# cd /usr/src
# wget http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.11.tar.gz
# tar xzf e2fsprogs-1.41.11.tar.gz
# rm e2fsprogs-1.41.11.tar.gz
# cd e2fsprogs-1.41.11
# ./configure
# make
# make install
# ldconfig
# make clean
root@64studio:/usr/src/e2fsprogs-1.41.11# ls /sbin/fsck.ext4 -al
-rwxr-xr-x 5 root root 1519550 2010-04-27 20:37 /sbin/fsck.ext4
# gparted

It's ok now :).

# lsmod | grep ext4
ext4 310192 0
jbd2 80592 1 ext4
crc16 2272 1 ext4
mbcache 8944 2 ext4,ext3
# modprobe -r ext4
# lsmod | grep ext4
# gparted

It's still ok without the module.

Best,

Ralf
_______________________________________________
64studio-devel mailing list
64studio-devel@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-devel

Ralf Mardorf 04-27-2010 06:56 PM

GParted issue with ext4 fs
 
Again, sorry for the noise, OTOH hopefully it might help somebody.

GParted > View > File System Support gives the answer, e2fsprogs v1.41+
is needed, but 1.40.8 is installed. I didn't remove the package, because
checkinstall failed, but AFAICT nothing is broken after I did the following.

# cd /usr/src
# wget http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.11.tar.gz
# tar xzf e2fsprogs-1.41.11.tar.gz
# rm e2fsprogs-1.41.11.tar.gz
# cd e2fsprogs-1.41.11
# ./configure
# make
# make install
# ldconfig
# make clean
root@64studio:/usr/src/e2fsprogs-1.41.11# ls /sbin/fsck.ext4 -al
-rwxr-xr-x 5 root root 1519550 2010-04-27 20:37 /sbin/fsck.ext4
# gparted

It's ok now :).

# lsmod | grep ext4
ext4 310192 0
jbd2 80592 1 ext4
crc16 2272 1 ext4
mbcache 8944 2 ext4,ext3
# modprobe -r ext4
# lsmod | grep ext4
# gparted

It's still ok without the module.

Best,

Ralf
_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users

Ralf Mardorf 04-27-2010 07:51 PM

GParted issue with ext4 fs
 
> Again, sorry for the noise, OTOH hopefully it might help somebody.
>
> GParted > View > File System Support gives the answer, e2fsprogs v1.41+
> is needed, but 1.40.8 is installed. I didn't remove the package, because
> checkinstall failed, but AFAICT nothing is broken after I did the following.
>
> # cd /usr/src
> # wget http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.41.11.tar.gz
> # tar xzf e2fsprogs-1.41.11.tar.gz
> # rm e2fsprogs-1.41.11.tar.gz
> # cd e2fsprogs-1.41.11
> # ./configure
> # make
> # make install
> # ldconfig
> # make clean
> root@64studio:/usr/src/e2fsprogs-1.41.11# ls /sbin/fsck.ext4 -al
> -rwxr-xr-x 5 root root 1519550 2010-04-27 20:37 /sbin/fsck.ext4
> # gparted
>
> It's ok now :).
>
> # lsmod | grep ext4
> ext4 310192 0
> jbd2 80592 1 ext4
> crc16 2272 1 ext4
> mbcache 8944 2 ext4,ext3
> # modprobe -r ext4
> # lsmod | grep ext4
> # gparted
>
> It's still ok without the module.
>
> Best,
>
> Ralf
>

It's better to install a dummy-package than to lock or not to lock the
old version, that is overwritten by make install, thus a package version
> 1.41.11 can be automatically upgrade the currently installed version.

# equivs-control e2fsprogs
# gedit e2fsprogs
# cat e2fsprogs
### Commented entries have reasonable defaults.
### Uncomment to edit them.
Section: misc
Priority: optional
Standards-Version: 3.6.2

Package: e2fsprogs
Version: 1.41.11-1
# Maintainer: Your Name <yourname@example.com>
# Pre-Depends: <comma-separated list of packages>
# Depends: <comma-separated list of packages>
# Recommends: <comma-separated list of packages>
# Suggests: <comma-separated list of packages>
# Provides: <comma-separated list of packages>
# Replaces: <comma-separated list of packages>
Architecture: all
# Copyright: <copyright file; defaults to GPL2>
# Changelog: <changelog file; defaults to a generic changelog>
# Readme: <README.Debian file; defaults to a generic one>
# Extra-Files: <comma-separated list of additional files for the doc
directory>
Description: e2fsprogs dummy-package

Checkinstall did build a package, but I fear that it's broken, that's
why I run ...
# rm e2fsprogs_1.41.11-1_amd64.deb backup-042720102031-pre-e2fsprogs.tgz
... before I go on with building the dummy-package.

# equivs-build e2fsprogs
# dpkg -i e2fsprogs_1.41.11-1_all.deb
# rm e2fsprogs e2fsprogs~

The package e2fslibs is a dependency of e2fsprogs, but e2fsprogs isn't a
dependency of e2fslibs and e2fslibs-dev.
_______________________________________________
64studio-users mailing list
64studio-users@lists.64studio.com
http://lists.64studio.com/mailman/listinfo/64studio-users


All times are GMT. The time now is 07:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.