-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 What does `ceph-disk list` report for the partition? You may need to run `partprobe /dev/sdb`. If ceph-disk list shows prepared, then just run `ceph-disk activate /dev/sdb1`. - ---------------- Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Tue, Sep 22, 2015 at 3:01 AM, wikison wrote: > Hi, everybody > When I use the ceph-disk utility to prepare the OSD, > I executed the following orders: > sudo ceph-disk prepare --cluster ceph --cluster-uuid > aae7140c-7ee2-49f2-b8de-4c74f6f8651a --fs-type xfs /dev/sdb1 > but I got: > 2015-09-22 16:55:59.683674 7f2f3c97e7c0 -1 did not load config file, > using default settings. > 2015-09-22 16:55:59.692743 7fc7895057c0 -1 did not load config file, using > default settings. > 2015-09-22 16:55:59.701379 7f24713637c0 -1 did not load config file, using > default settings. > 2015-09-22 16:55:59.709718 7f95574537c0 -1 did not load config file, using > default settings. > 2015-09-22 16:55:59.731018 7f1d254ee7c0 -1 did not load config file, using > default settings. > 2015-09-22 16:55:59.738649 7f4eba1e57c0 -1 did not load config file, using > default settings. > 2015-09-22 16:55:59.746265 7f6eee15a7c0 -1 did not load config file, using > default settings. > meta-data=/dev/sdb1 isize=2048 agcount=32, agsize=7630950 > blks > = sectsz=4096 attr=2, > projid32bit=0 > data = bsize=4096 blocks=244190390, > imaxpct=25 > = sunit=0 swidth=0 blks > naming =version 2 bsize=4096 ascii-ci=0 > log =internal log bsize=4096 blocks=119233, > version=2 > = sectsz=4096 sunit=1 blks, > lazy-count=1 > realtime =none extsz=4096 blocks=0, rtextents=0 > Error: Partition(s) 1 on /dev/sdb1 have been written, but we have been > unable to inform the kernel of the change, probably because it/they are in > use. As a result, the old partition(s) will remain in use. You should > reboot now before making further changes. > > I checked the mount status and found that /dev/sdb1 is not mounted. > What can I do to solve this? > > > > -- > Zhen Wang > > > > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -----BEGIN PGP SIGNATURE----- Version: Mailvelope v1.1.0 Comment: https://www.mailvelope.com wsFcBAEBCAAQBQJWAXkgCRDmVDuy+mK58QAArsIP/0qHdd835NvzZf834M9L 4kPIveKaCkmAgylyqpNKfDcjdZru6WOoNA8nNAWyyNn6h+QAkA9ncWYTmhQP sYA3eZe4wLlbZIYFyETgjXyndkTUV8IskkkyyxOp6Jb1OyMqD/O8+8zkkV4W K7v/465FxW6d9x0xKuBzAif2RNz//W/JK5bZwgC7CB+lmRQ45auV1HBc9Ps9 4OAQbAKUstPMIlSogTzp1tbsoS1jGdd34ta54f9R2TplSMLhSeGJk5Au0tHJ MTk+bE2jKKFggL1dfGEPwj1hCHOh7QEqKniHyYAfXYf3IpcBr3aDyZIKjAc7 bDm+Bw5DlUUx8ywzpc2k/QUqL9CCebqAxM9xh2bkQITN7UF6EGwOWKyDrLjf hNpwuSdyz7I+JXC3T3xZh9ktxTLMNzqN8JO6Fz/y9GvviNXyAOTctyk6m1sr qljHY0wrTBDhyD9AsKboDcEJkkOzZwoAuaF/Jia4P9PBCQxpcj/lxkVFjOwE DtYuIW8c1sQCH0kJb5srb/Z0Cge4s2wc/4AJRClpsK4sxPm1BJJQ7gZI/8gG jBrlFM1wShJz6vB//nKSujVhmYtgpRkOASLMICcl+Q6XkP7io6et2PSC+Kw/ NsiBlwl9xOXNllCuz37Bq2Ghb9PIiWCHtkgf2o0BlV3jHGFqpgFpBngNez54 BqqD =iNr4 -----END PGP SIGNATURE----- _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com