Re: File extension

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

 



On Apr 4, 2013, at 3:06 AM, Waed Bataineh <promiselady90@xxxxxxxxx> wrote:

> Hello, 
> 
> I'm using Ceph as object storage, where it put the whole file what ever was its size in one object (correct me if i'm wrong).  
> i used it for multiple files that have different extension (.txt, .mp3, ...etc) i can store the files and retrieve it smoothly. 
> 
> My questions are:
> 1. when i get the file back using rados get obj_name file_path --pool=pool_name 
>      how would i know the extension that the file was mapped in the object in the first place ?

You can include the file extension in the name/key of an object, or use metadata facilities such as object extended attributes to keep this information.

-Noah
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[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