We are using still proxmox 3.4 (we want to update in 1 month to 4) and ceph firefly.
but we cannot install new osds anymore..
says:
ceph4 pvedaemon[15035]: command 'ceph-disk prepare --zap-disk --fs-type xfs --cluster ceph --cluster-uuid 820e9ff3-7d60-4244-a606-0d11e96b9504 /dev/sdc' failed: exit code 1
we have latest proxmox pve-manager/3.4-13/4c745357 and latest firefly from
deb http://download.ceph.com/debian-firefly wheezy main
by hand:
root@ceph4:~# ceph-disk prepare --zap-disk --fs-type xfs --cluster ceph --cluster-uuid 820e9ff3-7d60-4244-a606-0d11e96b9504 /dev/sdd
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Creating new GPT entries.
The operation has completed successfully.
Information: Moved requested sector from 34 to 2048 in
order to align on 2048-sector boundaries.
The operation has completed successfully.
Information: Moved requested sector from 31457281 to 31459328 in
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/sdd1']' returned non-zero exit status 1
any idea whats wrong?
but we cannot install new osds anymore..
says:
ceph4 pvedaemon[15035]: command 'ceph-disk prepare --zap-disk --fs-type xfs --cluster ceph --cluster-uuid 820e9ff3-7d60-4244-a606-0d11e96b9504 /dev/sdc' failed: exit code 1
we have latest proxmox pve-manager/3.4-13/4c745357 and latest firefly from
deb http://download.ceph.com/debian-firefly wheezy main
by hand:
root@ceph4:~# ceph-disk prepare --zap-disk --fs-type xfs --cluster ceph --cluster-uuid 820e9ff3-7d60-4244-a606-0d11e96b9504 /dev/sdd
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Creating new GPT entries.
The operation has completed successfully.
Information: Moved requested sector from 34 to 2048 in
order to align on 2048-sector boundaries.
The operation has completed successfully.
Information: Moved requested sector from 31457281 to 31459328 in
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/sdd1']' returned non-zero exit status 1
any idea whats wrong?