At 11:50 7-6-2001 -0600, Christopher \"C.J.\" Keist wrote:
Hello,
I have installed RH7.1 using SGI installer CD. I have compiled the
kernel to support RAID with Linear support, xfs , quota and xfs quota
support. I then created a file system appending three disks together, the
raidtab file follows:
raiddev /dev/md0
raid-level linear
nr-raid-disks 3
persistent-superblock 1
chunk-size 4
device /dev/sdb1
raid-disk 0
device /dev/sdc1
raid-disk 1
device /dev/sdd1
raid-disk 2
I was able to create the xfs file system with no problems. I'm now trying
to get user quota to work, but having no luck. Here is how the file sytem
is being mounted in the fstab file:
/dev/md0 /test xfs rw,usrquota 1
1
I have tried just quota,userquota and usrquota for the mount options, all
seem to work with no errors in mounting, but all behave the same in that
quotas don't work. When I try repquota -v /test I get the following:
repquota: Not all specified mountpoints are using quota.
mount command shows the following:
According to the experience from someone else on the list in the thread
"Red Hat 7.1 and quotas"
it is explained. In short:
OK, I've had a play with a test machine....
Red Hat 7.1, installed from SGI XFS 1.0 CDROM
[root@webpc2 /root]# cat /etc/fstab
/dev/hde3 /home xfs defaults,usrquota,grpquota 1 2
[root@webpc2 /root]# quotaon -v /home
quotaon: /dev/hde3: Invalid argument
quotaon: /dev/hde3: Invalid argument
I rebooted anyway, and after the reboot:
[root@webpc2 /root]# dmesg|grep quota
VFS: Diskquotas version dquot_6.5.0 initialized
XFS quotacheck ide2(33,3): Please wait.
XFS quotacheck ide2(33,3): Done.
[root@webpc2 /root]# repquota -v /dev/hde3
Not all specified mountpoints are using quota.
You will need to see the XFS quotacheck in the dmesg output.
Check if this helps.
Is all this just telling me that quota support for XFS filesystem on a md
raid device is not supported?
It's a file system matter, md is a hardware abstraction layer which doesn't
have any idea of what you are trying to write to disk. XFS thinks md is a
disk, that is because md acts more or less like a disk.
--
Seth
Every program has two purposes one for which
it was written and another for which it wasn't
I use the last kind.
|