Bug#695640: xfs_quota: cannot find mount point for path: Success

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

 



Hey Brian,

On Tue, Dec 11, 2012 at 01:35:07PM +1100, Brian May wrote:
> Package: xfsprogs
> Version: 3.1.4
> 
> 
> hq ~ # /usr/sbin/xfs_quota -x -c "quota -N -u brian" /home
> xfs_quota: cannot find mount point for path `/share/systems': Success
> xfs_quota: cannot find mount point for path `/share/cs': Success
> xfs_quota: cannot find mount point for path `/share/cas': Success
> xfs_quota: cannot find mount point for path `/share/cfcp': Success
> xfs_quota: cannot find mount point for path `/share/lgs': Success
> xfs_quota: cannot find mount point for path `/share/common': Success
> xfs_quota: cannot find mount point for path `/share/summer': Success
> /dev/mapper/hq-home    3763680          0          0   00 [--------] /home
> 
> 
> Why is it complaining about success?
> 
> These messages only occurred after upgrading a lenny system to squeeze.
> 
> 
> strace shows no errors at this point:
> 
> write(2, "xfs_quota: cannot find mount poi"..., 70xfs_quota: cannot find
> mount point for path `/share/systems': Success
> ) = 70
> stat64("/share/cs", {st_mode=S_IFDIR|S_ISGID|0755, st_size=118, ...}) = 0
> write(2, "xfs_quota: cannot find mount poi"..., 65xfs_quota: cannot find
> mount point for path `/share/cs': Success
> ) = 65
> stat64("/share/cas", {st_mode=S_IFDIR|S_ISGID|0775, st_size=117, ...}) = 0
> write(2, "xfs_quota: cannot find mount poi"..., 66xfs_quota: cannot find
> mount point for path `/share/cas': Success
> ) = 66
> stat64("/share/cfcp", {st_mode=S_IFDIR|S_ISGID|0755, st_size=99, ...}) = 0
> write(2, "xfs_quota: cannot find mount poi"..., 67xfs_quota: cannot find
> mount point for path `/share/cfcp': Success
> ) = 67
> stat64("/share/lgs", {st_mode=S_IFDIR|S_ISGID|0750, st_size=89, ...}) = 0
> write(2, "xfs_quota: cannot find mount poi"..., 66xfs_quota: cannot find
> mount point for path `/share/lgs': Success
> ) = 66
> stat64("/share/common", {st_mode=S_IFDIR|S_ISGID|0755, st_size=96, ...}) = 0
> write(2, "xfs_quota: cannot find mount poi"..., 69xfs_quota: cannot find
> mount point for path `/share/common': Success
> ) = 69
> stat64("/share/summer", {st_mode=S_IFDIR|S_ISGID|0770, st_size=4096, ...})
> = 0
> write(2, "xfs_quota: cannot find mount poi"..., 69xfs_quota: cannot find
> mount point for path `/share/summer': Success
> ) = 69

Looks like that would be print out of fs_table_initialise_projects.

 40 static int
 41 fs_device_number(
 42         const char      *name,
 43         dev_t           *devnum)
 44 {   
 45         struct stat64   sbuf;
 46     
 47         if (stat64(name, &sbuf) < 0)
 48                 return errno;
			^^^^^^^^ here?
 49         /*
 50          * We want to match st_rdev if the path provided is a device
 51          * special file.  Otherwise we are looking for the the
 52          * device id for the containing filesystem, in st_dev.
 53          */
 54         if (S_ISBLK(sbuf.st_mode) || S_ISCHR(sbuf.st_mode))
 55                 *devnum = sbuf.st_rdev;
 56         else        
 57                 *devnum = sbuf.st_dev;
 58     
 59         return 0;
 60 }

Do you have a wonky /etc/projects file or something?

Regards,
	Ben

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux