Hi Rob,

Rob Walker wrote:
> My system has a number of bind mounts set up: the root is NAND flash, so /usr 
> /var & /srv are on a disk (/mnt/disk)
> 
> /etc/fstab has:
> /mnt/disk/srv   /srv            none    bind            0       0
> /mnt/disk/usr   /usr            none    bind            0       0
> /mnt/disk/var   /var            none    bind            0       0
> 
> There is a lost+found in /mnt/disk, but cron's daily check in 
> /etc/cron.daily/standard gives the following warning:
> 
> -----
> /etc/cron.daily/standard:
> Some local filesystems do not have lost+found directories. This
> means that these filesystems will not be able to recover
> lost files when the filesystem is checked after a crash.
> Consider creating a lost+found directory with mklost+found(8).
> 
> The following lost+found directories were not available:
> 
> /srv/lost+found
> /usr/lost+found
> /var/lost+found

I'm having troubles reproducing this. Could you post the output of the
following command?

$ df -P --type=ext2 --type=ext3 --type=ext4 --type=xfs

That's the (current) code the daily check script uses to identify
potential candidates for the lost+found check.


Also, please post the output of the following command:

$ grep '/mnt' /proc/mounts

This is the approach we are probably going to take in future versions.


Thanks
Christian

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to