Re: cephfs snap mkdir strange timestamp

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

 



 
Hmmm, but typing a ls -lart is faster than having to lookup in my manual 
how to get such a thing with xattr. I honestly do not get the logics 
about applying everywhere the same date as the parent folder. Totally 
useless information stored. Might as well store nothing. 



-----Original Message-----
Sent: 10 March 2020 13:51
To: Marc Roos
Cc: ceph-users
Subject: Re:  cephfs snap mkdir strange timestamp

There's an xattr for this: ceph.snap.btime IIRC

Paul

--
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90

On Tue, Mar 10, 2020 at 11:42 AM Marc Roos <M.Roos@xxxxxxxxxxxxxxxxx> 
wrote:
>
>
>
> If I make a directory in linux the directory has the date of now, why 
> is this not with creating a snap dir? Is this not a bug? One expects 
> this to be the same as in linux not????
>
> [ @ test]$ mkdir temp
>
> [ @os0 test]$ ls -arltn
> total 28
> drwxrwxrwt. 27   0   0 20480 Mar 10 11:38 ..
> drwxrwxr-x   2 801 801  4096 Mar 10 11:38 temp
> drwxrwxr-x   3 801 801  4096 Mar 10 11:38 .
>
>
> [ @ .snap]# mkdir test
> [ @ .snap]# ls -lartn
> total 0
> drwxr-xr-x 861886554 0 0 8390344070786420358 Jan  1  1970 .
> drwxr-xr-x         4 0 0                   2 Mar  6 14:43 test
> drwxr-xr-x         4 0 0                   2 Mar  6 14:43 snap-9
> drwxr-xr-x         4 0 0                   2 Mar  6 14:43 snap-8
> drwxr-xr-x         4 0 0                   2 Mar  6 14:43 snap-7
> drwxr-xr-x         4 0 0                   2 Mar  6 14:43 snap-6
> drwxr-xr-x         4 0 0                   2 Mar  6 14:43 snap-5
> drwxr-xr-x         4 0 0                   2 Mar  6 14:43 snap-10
> drwxr-xr-x         4 0 0                   2 Mar  6 14:43 ..
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an 
> email to ceph-users-leave@xxxxxxx

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux