Skip to contentSkip to conversation

lscp: Inappropriate ioctl for device

DISCUSSION David Fuller 3 participants 3 messages Jul 24, 2009 1 message not in the archive NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

I just recently installed Ubuntu 9.04 and custom built the 2.6.30.2 kernel with the nilfs options outlined on the site.

I am able to mount the partition with no errors.

I do an error as follows:

Jul 22 13:09:53 hostname nilfs_cleanerd[9470]: start
Jul 22 13:09:53 hostname nilfs_cleanerd[9470]: cannot get segment usage 
stat: Inappropriate ioctl for device
Jul 22 13:09:53 hostname nilfs_cleanerd[9470]: shutdown

...

Jul 22 13:13:12 hostname nilfs_cleanerd[9538]: start
Jul 22 13:13:12 hostname kernel: [18500.590098] VFS: Can't find ext4 
filesystem on dev sda1.
Jul 22 13:13:12 hostname kernel: [18500.594342] segctord starting. 
Construction interval = 5 seconds, CP frequency < 30 seconds
Jul 22 13:13:12 hostname nilfs_cleanerd[9538]: cannot get segment usage 
stat: Inappropriate ioctl for device
Jul 22 13:13:12 hostname nilfs_cleanerd[9538]: shutdown
Jul 22 13:14:51 hostname nilfs_cleanerd[9547]: start
Jul 22 13:14:51 hostname kernel: [18599.765573] segctord starting. 
Construction interval = 5 seconds, CP frequency < 30 seconds
Jul 22 13:14:51 hostname nilfs_cleanerd[9547]: cannot get segment usage 
stat: Inappropriate ioctl for device
Jul 22 13:14:51 hostname nilfs_cleanerd[9547]: shutdown

Also when I try to list the checkpoints, I get the following error:

lscp: Inappropriate ioctl for device

Please advise.

Thanks,
--David F.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi David,

I've had the same problem on Ubuntu 9.04.
It seems that an very old version (2.0.6 ???) of nilfs-tools is installed by package manager and no update available through Ubuntu 9.04 update channel.

Downloading, compiling and installing latest version of nilfs-tools will fix this issue.

Robertas

Quoted 44 lines · David Fuller

I just recently installed Ubuntu 9.04 and custom built the 2.6.30.2 kernel with the nilfs options outlined on the site.

I am able to mount the partition with no errors.

I do an error as follows:

Jul 22 13:09:53 hostname nilfs_cleanerd[9470]: start
Jul 22 13:09:53 hostname nilfs_cleanerd[9470]: cannot get segment usage 
stat: Inappropriate ioctl for device
Jul 22 13:09:53 hostname nilfs_cleanerd[9470]: shutdown

...

Jul 22 13:13:12 hostname nilfs_cleanerd[9538]: start
Jul 22 13:13:12 hostname kernel: [18500.590098] VFS: Can't find ext4 
filesystem on dev sda1.
Jul 22 13:13:12 hostname kernel: [18500.594342] segctord starting. 
Construction interval = 5 seconds, CP frequency < 30 seconds
Jul 22 13:13:12 hostname nilfs_cleanerd[9538]: cannot get segment usage 
stat: Inappropriate ioctl for device
Jul 22 13:13:12 hostname nilfs_cleanerd[9538]: shutdown
Jul 22 13:14:51 hostname nilfs_cleanerd[9547]: start
Jul 22 13:14:51 hostname kernel: [18599.765573] segctord starting. 
Construction interval = 5 seconds, CP frequency < 30 seconds
Jul 22 13:14:51 hostname nilfs_cleanerd[9547]: cannot get segment usage 
stat: Inappropriate ioctl for device
Jul 22 13:14:51 hostname nilfs_cleanerd[9547]: shutdown

Also when I try to list the checkpoints, I get the following error:

lscp: Inappropriate ioctl for device

Please advise.

Thanks,
--David F.
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users

#3 lore raw
In reply to a message not in the archive

Hi,

Quoted 32 lines · David Fuller

I just recently installed Ubuntu 9.04 and custom built the 2.6.30.2 kernel with the nilfs options outlined on the site.

I am able to mount the partition with no errors.

I do an error as follows:

Jul 22 13:09:53 hostname nilfs_cleanerd[9470]: start
Jul 22 13:09:53 hostname nilfs_cleanerd[9470]: cannot get segment usage 
stat: Inappropriate ioctl for device
Jul 22 13:09:53 hostname nilfs_cleanerd[9470]: shutdown

...

Jul 22 13:13:12 hostname nilfs_cleanerd[9538]: start
Jul 22 13:13:12 hostname kernel: [18500.590098] VFS: Can't find ext4 
filesystem on dev sda1.
Jul 22 13:13:12 hostname kernel: [18500.594342] segctord starting. 
Construction interval = 5 seconds, CP frequency < 30 seconds
Jul 22 13:13:12 hostname nilfs_cleanerd[9538]: cannot get segment usage 
stat: Inappropriate ioctl for device
Jul 22 13:13:12 hostname nilfs_cleanerd[9538]: shutdown
Jul 22 13:14:51 hostname nilfs_cleanerd[9547]: start
Jul 22 13:14:51 hostname kernel: [18599.765573] segctord starting. 
Construction interval = 5 seconds, CP frequency < 30 seconds
Jul 22 13:14:51 hostname nilfs_cleanerd[9547]: cannot get segment usage 
stat: Inappropriate ioctl for device
Jul 22 13:14:51 hostname nilfs_cleanerd[9547]: shutdown

Also when I try to list the checkpoints, I get the following error:

Quoted 8 lines

lscp: Inappropriate ioctl for device

Please advise.

Thanks,
--David F.

Nilfs has once changed ioctl interface (ABI) to clean up architecture dependency problems found in the review process of mainline merge.

The nilfs2-tools included in Ubuntu Jaunty is older than that.

Please download the latest util package (nilfs-utils-2.0.14) from

http://www.nilfs.org/en/download.html

and use it instead.

The newer nilfs2-tools is available on karmic, but in either case it seems to be less frequently updated than Debian.

Cheers,
Ryusuke Konishi