[Bugs] [Bug 1384297] New: glusterfs can' t self heal character dev file for invalid dev_t parameters
bugzilla at redhat.com
bugzilla at redhat.com
Thu Oct 13 03:27:15 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1384297
Bug ID: 1384297
Summary: glusterfs can't self heal character dev file for
invalid dev_t parameters
Product: GlusterFS
Version: 3.6.9
Component: selfheal
Severity: high
Assignee: bugs at gluster.org
Reporter: xiaoping.wu at nokia.com
CC: bugs at gluster.org
Description of problem:
For replicate volume, if a character dev file only exit on one brick, it can't
heal to other brick. there are below error logs.
1. glusterfs server side log:
bricks/mnt-bricks-export-brick.log:[2016-08-29 06:25:55.380204] E
[posix.c:1145:posix_mknod] 0-export-posix: mknod on
/mnt/bricks/export/brick/myzero failed: Invalid argument
bricks/mnt-bricks-export-brick.log:[2016-08-29 06:25:55.380223] I
[server-rpc-fops.c:522:server_mknod_cbk] 0-export-server: 27: MKNOD /myzero
(00000000-0000-0000-0000-000000000001/myzero) ==> (Invalid argument)
2. glusterfs client side log:
glusterfs/glustershd.log:[2016-08-29 06:25:56.481530] W
[client-rpc-fops.c:240:client3_3_mknod_cbk] 0-export-client-1: remote operation
failed: Invalid argument. Path: (null)
Version-Release number of selected component (if applicable):
3.6.9
How reproducible:
For replicate volume.
1. shutdown one brick of the volume.
2. write a character dev file in the volume.
mknod myzero c 1 5
3. startup the volume.
4. check if the character dev file is healed.
Additional info:
I print the parameters of mknod, it isn't correct.
[2016-08-29 08:44:48.015571] E [posix.c:1150:posix_mknod] 0-export-posix: mknod
on /mnt/bricks/export/brick/myzero failed: Invalid argument
[2016-08-29 08:44:48.015589] I [server-rpc-fops.c:522:server_mknod_cbk]
0-export-server: 2950: MKNOD /myzero
(00000000-0000-0000-0000-000000000001/myzero) ==> (Invalid argument)
[2016-08-29 08:45:33.330540] E [posix.c:1129:posix_mknod] 0-export-posix: mknod
on /mnt/bricks/export/brick/myzero , mode: 0x21a4, dev: 0x5, major 16777216,
minor 5
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list