Re: FileStore OSD, journal direct symlinked, permission troubles.

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

 



On Thu, Aug 29, 2019 at 02:42:42PM +0200, Marco Gaiarin wrote:
> Mandi! Alwin Antreich
>   In chel di` si favelave...
> 
> > > There's something i can do? Thanks.
> > Did you go through our upgrade guide(s)?
> 
> Sure!
> 
> 
> > See the link [0] below, for the
> > permission changes. They are needed when an upgrade from Hammer to Jewel
> > is done.
> 
> Sure! The problem arise in the 'Set partition type' section, because:
> 
>  root@deadpool:~# for l in $(readlink -f /var/lib/ceph/osd/ceph-*/journal); do echo $l; blkid -o udev -p $l; echo ""; done
>  /dev/sda5
>  ID_PART_ENTRY_SCHEME=dos
>  ID_PART_ENTRY_UUID=9c277a97-05
>  ID_PART_ENTRY_TYPE=0xfd
>  ID_PART_ENTRY_NUMBER=5
>  ID_PART_ENTRY_OFFSET=546877440
>  ID_PART_ENTRY_SIZE=97654784
>  ID_PART_ENTRY_DISK=8:0
>  
>  /dev/sda6
>  ID_PART_ENTRY_SCHEME=dos
>  ID_PART_ENTRY_UUID=9c277a97-06
>  ID_PART_ENTRY_TYPE=0xfd
>  ID_PART_ENTRY_NUMBER=6
>  ID_PART_ENTRY_OFFSET=644534272
>  ID_PART_ENTRY_SIZE=97654784
>  ID_PART_ENTRY_DISK=8:0
>  
>  /dev/sdb7
>  ID_PART_ENTRY_SCHEME=dos
>  ID_PART_ENTRY_UUID=802474ca-07
>  ID_PART_ENTRY_TYPE=0xfd
>  ID_PART_ENTRY_NUMBER=7
>  ID_PART_ENTRY_OFFSET=742191104
>  ID_PART_ENTRY_SIZE=97654784
>  ID_PART_ENTRY_DISK=8:16
>  
>  /dev/sdb8
>  ID_PART_ENTRY_SCHEME=dos
>  ID_PART_ENTRY_UUID=802474ca-08
>  ID_PART_ENTRY_TYPE=0xfd
>  ID_PART_ENTRY_NUMBER=8
>  ID_PART_ENTRY_OFFSET=839847936
>  ID_PART_ENTRY_SIZE=97853440
>  ID_PART_ENTRY_DISK=8:16
> 
> 
> As stated, partitions are 'DOS'...
Yes, the journal is not linked through uuid, path, ... . For one, you could
change the link by hand. But this might be not very future proof.

Another possibilty is to convert the MBR to GPT (sgdisk --mbrtogpt) and
give the partition its UID (also sgdisk). Then it could be linked by
its uuid.

Or if you are not in need of filestore OSDs, re-create them as bluestore
ones. AFAICS, Ceph has laid more focus on bluestore and it might be
better to do a conversion sooner than later. (my opinion)


--
Cheers,
Alwin
_______________________________________________
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