| To: | Ying-Hung Chen <ying@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: xfs quota does not work with encrypted loop filesystem |
| From: | Nathan Scott <nathans@xxxxxxx> |
| Date: | Mon, 20 Oct 2003 12:58:30 +1000 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <3F934AA5.1040501@yingternet.com> |
| References: | <3F916F45.8090801@yingternet.com> <20031020003520.GA1042@frodo> <3F933A90.80809@yingternet.com> <20031020015523.GA1560@frodo> <3F934AA5.1040501@yingternet.com> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.3i |
On Sun, Oct 19, 2003 at 07:38:29PM -0700, Ying-Hung Chen wrote:
> >
> >Hmm... I was wondering whether the quota mount options were
> >getting through to the kernel - looks like they are. I'm
> >stumped - it also works fine on just plain loopback (without
> >crypto, iow), I just tried that.
> >
> can you show me how to mount through loopback without encryption? i was
> suspecting on the encryption all alone. but just want to double check it
> is not the problem with loop device,
>
Sure - something like this...
# mkfs.xfs -dfile,size=1g,name=/tmp/loopy
meta-data=/tmp/loopy isize=256 agcount=8, agsize=32768 blks
= sectsz=512
data = bsize=4096 blocks=262144, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=2560, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
# mkdir /mnt/loopy
# mount -t xfs -o loop,usrquota /tmp/loopy /mnt/loopy
# repquota /mnt/loopy
*** Report for user quotas on device /dev/loop0
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 0 0 0 3 0 0
--
Nathan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: xfs quota does not work with encrypted loop filesystem, Ying-Hung Chen |
|---|---|
| Next by Date: | Re: xfs quota does not work with encrypted loop filesystem, Ying-Hung Chen |
| Previous by Thread: | Re: xfs quota does not work with encrypted loop filesystem, Ying-Hung Chen |
| Next by Thread: | Re: xfs quota does not work with encrypted loop filesystem, Ying-Hung Chen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |