All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel 3.0.0 + ext4 + ceph == ...
@ 2011-07-30  9:38 Fyodor Ustinov
  2011-07-30 14:37 ` Christian Brunner
  2011-07-30 15:34 ` Theodore Tso
  0 siblings, 2 replies; 25+ messages in thread
From: Fyodor Ustinov @ 2011-07-30  9:38 UTC (permalink / raw)
  To: ceph-devel

fail. Epic fail.

Absolutely reproducible.

I have ceph cluster with this configuration:

8 physical servers
14 osd servers.
Each osd server have personal fs.
48T total size of ceph cluster.
17T used.

Now, step by step:

1. Stop ceph server osd0
/etc/init.d/ceph stop

2. Make fresh fs for osd
umount /osd.0
mkfs.ext4 /dev/sdc1
tune2fs -o journal_data_writeback /dev/sdc1
mount -a
# string from /etc/fstab:
# /dev/sdc1 /osd.0          ext4    
user_xattr,rw,noexec,nodev,noatime,nodiratime,data=writeback,barrier=0        
0       2
ceph mon getmap -o /tmp/monmap
cosd --mkfs -i 0 --monmap /tmp/monmap

3. Start ceph server osd0
/etc/init.d/ceph start

Now, make a big cup of coffee and begin to wait.

After completion of rebalancing do:
/etc/init.d/ceph stop
umount /osd.0
fsck.ext4 -fy /dev/sdc1

and see many-many messages like:

Inode 238551053, i_blocks is 24, should be 32.  Fix? yes

Inode 238551054, i_blocks is 40, should be 32.  Fix? yes

Inode 238551066, i_blocks is 24, should be 32.  Fix? yes

Inode 238944257, i_blocks is 8, should be 16.  Fix? yes

Inode 239206414, i_blocks is 8, should be 16.  Fix? yes

Inode 239206416, i_blocks is 40, should be 32.  Fix? yes

Inode 239206431, i_blocks is 8, should be 16.  Fix? yes

Inode 239206441, i_blocks is 24, should be 32.  Fix? yes

Voila.

P.S. No any message in syslog. No any message in console.

WBR,
     Fyodor.


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2011-11-15 15:46 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-30  9:38 Kernel 3.0.0 + ext4 + ceph == Fyodor Ustinov
2011-07-30 14:37 ` Christian Brunner
2011-07-30 14:53   ` Fwd: " Christian Brunner
2011-11-15 15:46     ` Eric Sandeen
2011-07-30 15:34 ` Theodore Tso
2011-07-30 16:36   ` Fyodor Ustinov
2011-07-30 16:50     ` Ted Ts'o
2011-07-30 17:16       ` Fyodor Ustinov
2011-07-30 17:21       ` Sage Weil
2011-07-30 17:27         ` Fyodor Ustinov
2011-07-30 17:54         ` Fyodor Ustinov
2011-07-30 22:19         ` Ted Ts'o
2011-07-31  4:54           ` Sage Weil
2011-07-31 11:33             ` Fyodor Ustinov
2011-07-31 17:04               ` Sage Weil
2011-07-31 17:32                 ` Fyodor Ustinov
2011-07-31 20:16                 ` Fyodor Ustinov
2011-07-31 20:42                   ` Sage Weil
2011-08-01 10:53                     ` Theodore Tso
2011-08-01 16:20                       ` Sage Weil
2011-08-03 14:16                         ` Christian Brunner
2011-08-03 15:41                           ` Yehuda Sadeh Weinraub
2011-08-08 20:07                             ` Christian Brunner
2011-08-18  9:19                               ` Christian Brunner
2011-07-30 18:33   ` Christian Brunner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.