hi, anyone to hit ?
> 在 2015年8月31日,下午2:45,lyt_yudi <[email protected]> 写道: > > hi, all > > # Question first: > > first times, add parameters in the ceph.conf , like this: > …… > osd mkfs options xfs = "-f -i size=2048” > …… > > after execute: > # pveceph createmon > > the parameter is changed. like: > …… > osd mkfs options xfs = "-f -i size = 2048” > …… > > both sides of the '=' with have the APACE. > > when add the osd will be error, like: > ———————————— > …... > order to align on 2048-sector boundaries. > The operation has completed successfully. > -i size option requires a value > Usage: mkfs.xfs > /* blocksize */ [-b log=n|size=num] > /* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num, > (sunit=value,swidth=value|su=num,sw=num), > sectlog=n|sectsize=num > /* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2, > projid32bit=0|1] > /* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n > sunit=value|su=num,sectlog=n|sectsize=num, > lazy-count=0|1] > /* label */ [-L label (maximum 12 characters)] > /* naming */ [-n log=n|size=num,version=2|ci] > /* prototype file */ [-p fname] > /* quiet */ [-q] > /* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx] > /* sectorsize */ [-s log=n|size=num] > /* version */ [-V] > devicename > <devicename> is required unless -d name=xxx is given. > <num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB), > xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB). > <value> is xxx (512 byte blocks). > ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size', > '=', '2048', '-f', '--', '/dev/sdb1']' returned non-zero exit status 1 > ———————————— > > maybe this is the CEPH’s mistake, > > but the PVE maybe can keep the parameters without change? > > # Question two: > the /etc/ceph/ceph.conf will be changed, insteed of the symlink from > /etc/pve/ceph.conf. > > # ls -l /etc/ceph/ceph.conf > lrwxrwxrwx 1 root root 18 Aug 31 13:55 /etc/ceph/ceph.conf -> > /etc/pve/ceph.conf > > changed to: > # ls -l /etc/ceph/ceph.conf > -rw-r----- 1 root www-data 2082 Aug 7 13:54 /etc/ceph/ceph.conf > > and One more file will be appear: > # ls -l /etc/ceph/ceph.conf.orig > -rw-r----- 1 root root 2082 Aug 31 14:30 /etc/ceph/ceph.conf.orig > > this question I have does’t know what caused. > > so, about this two question, somebody can help me? > > thanks a lots. > > lyt_yudi > [email protected] > > > _______________________________________________ pve-user mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
