1821826 Members
3506 Online
109638 Solutions
New Discussion юеВ

Re: loopfs

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

loopfs

I get the following message when running mondoarchive:

Fatal error. Can't loopmount /ASU/tmp.mondo.10647/mindilinux/5582/mountpoint.5582; does your kernel support loopfs? If not, please recompile
your kernel. Your Linux distro is broken.

I ran xconfig, and loooked under filesystem, but I dont see a loopfs kernel parm to pull in. Any ideas how I can fold in loopfs?

10x
RPM
UNIX IS GOOD
5 REPLIES 5
Claudio Cilloni
Honored Contributor

Re: loopfs

I think it would mean loop devices. loop devices are used to see a file like a physical device. Your kernel supports loop devices if you have /dev/loop* block devices.

$ man losetup

this could help.

Ciao
Claudio
Robert Binkhorst
Trusted Contributor
Solution

Re: loopfs

Hi,

Look under "Block Devices" and select "Loopback device support".

HTH,

Robert
linux: the choice of a GNU generation
Mark Grant
Honored Contributor

Re: loopfs

Yep, you need to make sure you have the loopback device compiled in your kernel.

You'll find it under "block devices", not filesyste,
Never preceed any demonstration with anything more predictive than "watch this"
Ralph Grothe
Honored Contributor

Re: loopfs

If you only run make config|menuconfig|xconfig you may be fooled by the settings read from the .config file in your kernel sources dir.
To make sure just try to load the loop module.
If it works your kernel is already built for loopfs support, otherwise you will have to compile a new kernel where you configure the settings for loopfs support as told by the others.

Try something like this

[root@chaos store]# modprobe -d loop
=============================================
Module loop
kname loop
objkey loop
names: loop
mode: NORMAL
Module matching loop: /lib/modules/2.4.18-3/kernel/drivers/block/loop.o
=============================================
[root@chaos store]# lsmod|grep loop
loop 11024 0 (unused)


Or if you have an ISO image laying around try to mount it with the "-loop" switch of mount.

[root@chaos root]# mount -o loop /opt/store/hostap.iso /mnt/tmp1
[root@chaos root]# df -k /mnt/tmp1
Filesystem 1k-blocks Used Available Use% Mounted on
/opt/store/hostap.iso
79488 79488 0 100% /mnt/tmp1
[root@chaos root]# lsmod|grep loop
loop 11024 3
Madness, thy name is system administration
Martin P.J. Zinser
Honored Contributor

Re: loopfs

You also might want to check the .config of your kernel. Mine looks like this

grep -i loop .config
CONFIG_BLK_DEV_LOOP=y

Which means the loop support is actually build into the Kernel directly in this case.

CONFIG_BLK_DEV_LOOP=m would indicate module support and =n no support.

Greetings, Martin