* nilfs_cleanerd won't start for root filesystem
@ 2012-08-01 7:21 dexen deVries
2012-08-01 9:00 ` Piotr Szymaniak
0 siblings, 1 reply; 7+ messages in thread
From: dexen deVries @ 2012-08-01 7:21 UTC (permalink / raw)
To: linux-nilfs
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
Hi list,
I've upgraded kernel to v3.5 and udev to v182. Now nilfs_cleanerd won't start
for root filesystem, even when executed by hand. Attach'd strace output and
/proc/mounts. It seems the problem is there's no /dev/root symlink anymore.
My root fs is /dev/sda3, command line:
# strace -f -o a.log -s 128 nilfs_cleanerd /dev/sda3
# nilfs_cleanerd-bin --version
nilfs_cleanerd-bin (nilfs-utils 2.1.4)
--
dexen deVries
[[[↓][→]]]
"all dichotomies are either true or false" is a true paradox because it's
paradoxical only if it is a paradox ;)
[-- Attachment #2: a.log --]
[-- Type: text/x-log, Size: 11947 bytes --]
26959 execve("/sbin/nilfs_cleanerd-bin", ["nilfs_cleanerd-bin", "/dev/sda3"], [/* 40 vars */]) = 0
26959 brk(0) = 0x23c4000
26959 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d116e4000
26959 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
26959 open("/usr/lib64/tls/x86_64/libnilfs.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
26959 stat("/usr/lib64/tls/x86_64", 0x7fff923ab910) = -1 ENOENT (No such file or directory)
26959 open("/usr/lib64/tls/libnilfs.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
26959 stat("/usr/lib64/tls", 0x7fff923ab910) = -1 ENOENT (No such file or directory)
26959 open("/usr/lib64/x86_64/libnilfs.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
26959 stat("/usr/lib64/x86_64", 0x7fff923ab910) = -1 ENOENT (No such file or directory)
26959 open("/usr/lib64/libnilfs.so.0", O_RDONLY|O_CLOEXEC) = 3
26959 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\27\0\0\0\0\0\0@\0\0\0\0\0\0\0008H\0\0\0\0\0\0\0\0\0\0@\0008\0\5\0@\0\31\0\30\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\34=\0\0\0\0\0\0\34=\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0"..., 832) = 832
26959 fstat(3, {st_mode=S_IFREG|0755, st_size=20088, ...}) = 0
26959 mmap(NULL, 2115440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d112be000
26959 mprotect(0x7f0d112c2000, 2097152, PROT_NONE) = 0
26959 mmap(0x7f0d114c2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f0d114c2000
26959 close(3) = 0
26959 open("/usr/lib64/libnilfsgc.so.0", O_RDONLY|O_CLOEXEC) = 3
26959 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \24\0\0\0\0\0\0@\0\0\0\0\0\0\0h4\0\0\0\0\0\0\0\0\0\0@\0008\0\5\0@\0\31\0\30\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\344.\0\0\0\0\0\0\344.\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0"..., 832) = 832
26959 fstat(3, {st_mode=S_IFREG|0755, st_size=15016, ...}) = 0
26959 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d112bd000
26959 mmap(NULL, 2110368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d110b9000
26959 mprotect(0x7f0d110bc000, 2097152, PROT_NONE) = 0
26959 mmap(0x7f0d112bc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f0d112bc000
26959 close(3) = 0
26959 open("/usr/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
26959 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
26959 fstat(3, {st_mode=S_IFREG|0644, st_size=202058, ...}) = 0
26959 mmap(NULL, 202058, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0d11087000
26959 close(3) = 0
26959 open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
26959 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\"\0\0\0\0\0\0@\0\0\0\0\0\0\0\270s\0\0\0\0\0\0\0\0\0\0@\0008\0\t\0@\0\"\0\37\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\370\1\0\0\0\0\0\0\370\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0"..., 832) = 832
26959 fstat(3, {st_mode=S_IFREG|0755, st_size=42620, ...}) = 0
26959 mmap(NULL, 2128984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d10e7f000
26959 mprotect(0x7f0d10e86000, 2093056, PROT_NONE) = 0
26959 mmap(0x7f0d11085000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f0d11085000
26959 close(3) = 0
26959 open("/usr/lib64/libuuid.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
26959 open("/lib64/libuuid.so.1", O_RDONLY|O_CLOEXEC) = 3
26959 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\23\0\0\0\0\0\0@\0\0\0\0\0\0\0`/\0\0\0\0\0\0\0\0\0\0@\0008\0\6\0@\0\34\0\33\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\354*\0\0\0\0\0\0\354*\0\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0"..., 832) = 832
26959 fstat(3, {st_mode=S_IFREG|0755, st_size=13920, ...}) = 0
26959 mmap(NULL, 2109072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d10c7c000
26959 mprotect(0x7f0d10c7f000, 2093056, PROT_NONE) = 0
26959 mmap(0x7f0d10e7e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f0d10e7e000
26959 close(3) = 0
26959 open("/usr/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
26959 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
26959 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\33\2\0\0\0\0\0@\0\0\0\0\0\0\0\370y\33\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0&\0#\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0"..., 832) = 832
26959 fstat(3, {st_mode=S_IFREG|0755, st_size=2048386, ...}) = 0
26959 mmap(NULL, 3916984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d108bf000
26959 mprotect(0x7f0d10a72000, 2093056, PROT_NONE) = 0
26959 mmap(0x7f0d10c71000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b2000) = 0x7f0d10c71000
26959 mmap(0x7f0d10c77000, 17592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0d10c77000
26959 close(3) = 0
26959 open("/usr/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
26959 open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
26959 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000l\0\0\0\0\0\0@\0\0\0\0\0\0\0\320s\1\0\0\0\0\0\0\0\0\0@\0008\0\t\0@\0\"\0\37\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\370\1\0\0\0\0\0\0\370\1\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0"..., 832) = 832
26959 fstat(3, {st_mode=S_IFREG|0755, st_size=130859, ...}) = 0
26959 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d116e3000
26959 mmap(NULL, 2208776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0d106a3000
26959 mprotect(0x7f0d106ba000, 2093056, PROT_NONE) = 0
26959 mmap(0x7f0d108b9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f0d108b9000
26959 mmap(0x7f0d108bb000, 13320, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0d108bb000
26959 close(3) = 0
26959 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d116e2000
26959 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d116e0000
26959 arch_prctl(ARCH_SET_FS, 0x7f0d116e0780) = 0
26959 mprotect(0x7f0d10c71000, 16384, PROT_READ) = 0
26959 mprotect(0x7f0d108b9000, 4096, PROT_READ) = 0
26959 mprotect(0x7f0d11085000, 4096, PROT_READ) = 0
26959 mprotect(0x7f0d116e5000, 4096, PROT_READ) = 0
26959 munmap(0x7f0d11087000, 202058) = 0
26959 set_tid_address(0x7f0d116e0a50) = 26959
26959 set_robust_list(0x7f0d116e0a60, 0x18) = 0
26959 rt_sigaction(SIGRTMIN, {0x7f0d106a9790, [], SA_RESTORER|SA_SIGINFO, 0x7f0d106b24e0}, NULL, 8) = 0
26959 rt_sigaction(SIGRT_1, {0x7f0d106a9810, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f0d106b24e0}, NULL, 8) = 0
26959 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
26959 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
26959 readlink("/dev", 0x7fff923a9cf0, 4096) = -1 EINVAL (Invalid argument)
26959 readlink("/dev/sda3", 0x7fff923a9cf0, 4096) = -1 EINVAL (Invalid argument)
26959 brk(0) = 0x23c4000
26959 brk(0x23e5000) = 0x23e5000
26959 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f0d116e0a50) = 26960
26959 exit_group(0) = ?
26960 set_robust_list(0x7f0d116e0a60, 0x18) = 0
26960 setsid() = 26960
26960 chdir("/") = 0
26960 close(0) = 0
26960 close(1) = 0
26960 close(2) = 0
26960 open("/dev/null", O_RDONLY) = 0
26960 open("/dev/null", O_WRONLY) = 1
26960 open("/dev/null", O_WRONLY) = 2
26960 open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
26960 fstat(3, {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0
26960 fstat(3, {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0
26960 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d116df000
26960 read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\n\0\0\0\n\0\0\0\0\0\0\0\247\0\0\0\n\0\0\0\26\231\250*\320\233\f\27`\233\325\332\360\234\331\256\220\235\244\265\220\236\271\220\220\237\204\227\220\240\232\266\0\241e\275\0\246}|`\310v\336\20\314\347K\20\315\251\27\220\316\242C\20\317\2224\20\320\200\251`\320\204\272\0\321\225\222p\322\212\273`\323b\377p\324K#\220"..., 4096) = 2679
26960 lseek(3, -1698, SEEK_CUR) = 981
26960 read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\v\0\0\0\v\0\0\0\0\0\0\0\250\0\0\0\v\0\0\0\32\377\377\377\377V\266\320P\377\377\377\377\231\250*\320\377\377\377\377\233\f\27`\377\377\377\377\233\325\332\360\377\377\377\377\234\331\256\220\377\377\377\377\235\244\265\220\377\377\377\377\236\271\220\220\377\377\377\377\237\204\227\220\377\377\377\377\240\232\266\0\377\377\377\377\241e\275\0\377\377\377\377"..., 4096) = 1698
26960 lseek(3, 2678, SEEK_SET) = 2678
26960 close(3) = 0
26960 munmap(0x7f0d116df000, 4096) = 0
26960 socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
26960 connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
26960 sendto(3, "<30>Aug 1 09:17:51 nilfs_cleanerd-bin[26960]: start", 52, MSG_NOSIGNAL, NULL, 0) = 52
26960 open("/dev/sda3", O_RDONLY) = 4
26960 ioctl(4, BLKGETSIZE64, 0x7fff923aac98) = 0
26960 lseek(4, 1024, SEEK_SET) = 1024
26960 read(4, "\2\0\0\0\0\00044\30\1\0\0\312:\256\260%U\257\232\2\0\0\0\377E\0\0\0\0\0\0\0\0\0\0#\0\0\0\1\0\0\0\0\0\0\0\0\10\0\0\5\0\0\0+\2\177\0\0\0\0\0\20\360\177\1\0\0\0\0e\224\20\0\0\0\0\0\0\340\205\1\0\0\0\0\346\332\217M\0\0\0\0\10\260\27P\0\0\0\0>\326\30P\0\0\0\0\331\0002\0\2\0\1\0\346\332\217M\0\0\0\0"..., 1024) = 1024
26960 lseek(4, 150325211136, SEEK_SET) = 150325211136
26960 read(4, "\2\0\0\0\0\00044\30\1\0\0\312:\256\260\356\374\3i\2\0\0\0\377E\0\0\0\0\0\0\0\0\0\0#\0\0\0\1\0\0\0\0\0\0\0\0\10\0\0\5\0\0\0\333\1\177\0\0\0\0\0\"\340\177\1\0\0\0\0c\224\20\0\0\0\0\0\0\360\205\1\0\0\0\0\346\332\217M\0\0\0\0\10\260\27P\0\0\0\0w\272\30P\0\0\0\0\331\0002\0\2\0\1\0\346\332\217M\0\0\0\0"..., 1024) = 1024
26960 readlink("/dev", 0x7fff923a8400, 4096) = -1 EINVAL (Invalid argument)
26960 readlink("/dev/sda3", 0x7fff923a8400, 4096) = -1 EINVAL (Invalid argument)
26960 open("/proc/mounts", O_RDONLY) = 5
26960 fstat(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
26960 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0d116df000
26960 read(5, "rootfs / rootfs rw 0 0\n/dev/root / nilfs2 rw,relatime 0 0\ndevtmpfs /dev devtmpfs rw,relatime,size=3015980k,nr_inodes=753995,mode"..., 1024) = 716
26960 readlink("/dev", 0x7fff923a8400, 4096) = -1 EINVAL (Invalid argument)
26960 readlink("/dev/root", 0x7fff923a8400, 4096) = -1 ENOENT (No such file or directory)
26960 readlink("/dev", 0x7fff923a8400, 4096) = -1 EINVAL (Invalid argument)
26960 readlink("/dev/sdb3", 0x7fff923a8400, 4096) = -1 EINVAL (Invalid argument)
26960 read(5, "", 1024) = 0
26960 close(5) = 0
26960 munmap(0x7f0d116df000, 4096) = 0
26960 sendto(3, "<27>Aug 1 09:17:51 nilfs_cleanerd-bin[26960]: cannot open nilfs on /dev/sda3: No such file or directory", 104, MSG_NOSIGNAL, NULL, 0) = 104
26960 sendto(3, "<27>Aug 1 09:17:51 nilfs_cleanerd-bin[26960]: cannot create cleanerd on /dev/sda3: No such file or directory", 109, MSG_NOSIGNAL, NULL, 0) = 109
26960 sendto(3, "<30>Aug 1 09:17:51 nilfs_cleanerd-bin[26960]: shutdown", 55, MSG_NOSIGNAL, NULL, 0) = 55
26960 close(3) = 0
26960 exit_group(1) = ?
[-- Attachment #3: mounts --]
[-- Type: text/plain, Size: 716 bytes --]
rootfs / rootfs rw 0 0
/dev/root / nilfs2 rw,relatime 0 0
devtmpfs /dev devtmpfs rw,relatime,size=3015980k,nr_inodes=753995,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /run tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0
cgroup /sys/fs/cgroup cgroup rw,relatime,blkio,memory,cpuacct,cpu 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
/dev/sdb3 /home nilfs2 rw,noatime 0 0
tmpfs /dev/shm tmpfs rw,relatime,size=344064k 0 0
/dev/sda2 /boot ext2 rw,noatime 0 0
/dev/sdb4 /mnt/bulk-0 ext4 rw,noatime,data=ordered 0 0
gvfs-fuse-daemon /home/dexen/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=1000,group_id=100 0 0
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nilfs_cleanerd won't start for root filesystem
2012-08-01 7:21 nilfs_cleanerd won't start for root filesystem dexen deVries
@ 2012-08-01 9:00 ` Piotr Szymaniak
2012-08-01 9:32 ` dexen deVries
0 siblings, 1 reply; 7+ messages in thread
From: Piotr Szymaniak @ 2012-08-01 9:00 UTC (permalink / raw)
To: dexen deVries; +Cc: linux-nilfs
[-- Attachment #1: Type: text/plain, Size: 590 bytes --]
On Wed, Aug 01, 2012 at 09:21:11AM +0200, dexen deVries wrote:
> Hi list,
>
> I've upgraded kernel to v3.5 and udev to v182. Now nilfs_cleanerd won't start
> for root filesystem, even when executed by hand. Attach'd strace output and
> /proc/mounts. It seems the problem is there's no /dev/root symlink anymore.
Got similar issue [1] few days ago.
[1] http://www.mail-archive.com/linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg01186.html
Piotr Szymaniak.
--
Zaczalem pic przez pewna kobiete. A ja jej nawet nie podziekowalem.
-- William Claude Dunkinfield
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nilfs_cleanerd won't start for root filesystem
2012-08-01 9:00 ` Piotr Szymaniak
@ 2012-08-01 9:32 ` dexen deVries
2012-08-01 11:19 ` Piotr Szymaniak
0 siblings, 1 reply; 7+ messages in thread
From: dexen deVries @ 2012-08-01 9:32 UTC (permalink / raw)
To: linux-nilfs; +Cc: Piotr Szymaniak
Hi Piotr,
On Wednesday 01 of August 2012 11:00:28 you wrote:
> Got similar issue [1] few days ago.
>
> [1] http://www.mail-archive.com/linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg01186.html
quick recap, have you gotten any solution better than creating /dev/root
symlink by hand? ;-)
btw., greetings from poland ;-)
cheers,
--
dexen deVries
[[[↓][→]]]
"all dichotomies are either true or false" is a true paradox because it's
paradoxical only if it is a paradox ;)
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nilfs_cleanerd won't start for root filesystem
2012-08-01 9:32 ` dexen deVries
@ 2012-08-01 11:19 ` Piotr Szymaniak
2012-08-01 11:34 ` Ryusuke Konishi
0 siblings, 1 reply; 7+ messages in thread
From: Piotr Szymaniak @ 2012-08-01 11:19 UTC (permalink / raw)
To: dexen deVries; +Cc: linux-nilfs
[-- Attachment #1: Type: text/plain, Size: 654 bytes --]
On Wed, Aug 01, 2012 at 11:32:58AM +0200, dexen deVries wrote:
> Hi Piotr,
>
>
> On Wednesday 01 of August 2012 11:00:28 you wrote:
> > Got similar issue [1] few days ago.
> >
> > [1] http://www.mail-archive.com/linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg01186.html
>
> quick recap, have you gotten any solution better than creating /dev/root
> symlink by hand? ;-)
udev downgrade... Looks like there are also other things broken by
missing /dev/root [1] [2] [3] (a least in Gentoo Linux).
[1] https://bugs.gentoo.org/381761
[2] https://bugs.gentoo.org/427818
[3] https://bugs.gentoo.org/390519
Piotr Szymaniak.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nilfs_cleanerd won't start for root filesystem
2012-08-01 11:19 ` Piotr Szymaniak
@ 2012-08-01 11:34 ` Ryusuke Konishi
[not found] ` <20120801.203417.104482564.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Ryusuke Konishi @ 2012-08-01 11:34 UTC (permalink / raw)
To: Piotr Szymaniak; +Cc: dexen deVries, linux-nilfs-u79uwXL29TY76Z2rM5mHXA
On Wed, 1 Aug 2012 13:19:21 +0200, Piotr Szymaniak <szarpaj-TbOm9Ca2r9GrDJvtcaxF/A@public.gmane.org> wrote:
> On Wed, Aug 01, 2012 at 11:32:58AM +0200, dexen deVries wrote:
> > Hi Piotr,
> >
> >
> > On Wednesday 01 of August 2012 11:00:28 you wrote:
> > > Got similar issue [1] few days ago.
> > >
> > > [1] http://www.mail-archive.com/linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg01186.html
> >
> > quick recap, have you gotten any solution better than creating /dev/root
> > symlink by hand? ;-)
>
> udev downgrade... Looks like there are also other things broken by
> missing /dev/root [1] [2] [3] (a least in Gentoo Linux).
>
> [1] https://bugs.gentoo.org/381761
> [2] https://bugs.gentoo.org/427818
> [3] https://bugs.gentoo.org/390519
>
>
> Piotr Szymaniak.
How about the following workaround?
# ln -s /dev/<your-root-partition> /lib/udev/devices/root
# reboot
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nilfs_cleanerd won't start for root filesystem
[not found] ` <20120801.203417.104482564.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
@ 2012-08-02 9:23 ` Piotr Szymaniak
2012-08-02 9:51 ` Ryusuke Konishi
0 siblings, 1 reply; 7+ messages in thread
From: Piotr Szymaniak @ 2012-08-02 9:23 UTC (permalink / raw)
To: Ryusuke Konishi; +Cc: dexen deVries, linux-nilfs-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 775 bytes --]
On Wed, Aug 01, 2012 at 08:34:17PM +0900, Ryusuke Konishi wrote:
> *snip*
>
> How about the following workaround?
>
> # ln -s /dev/<your-root-partition> /lib/udev/devices/root
> # reboot
My udev installation is missing /lib/udev/devices dir. Maybe that's also
distribution specific?
As a workaround I just modified my cleanerd starter script [1] to check
if /dev/root exists and, if it is missing, create proper /dev/root symlink
to ${TARGETDISK} before nilfs_cleanerd is started.
PS Is there some "proper" way to start nilfs_cleanerd on rootfs? Or
every way is good as far as it works fine? (my solution is missing the
gcpid=foo)
[1] http://www.mail-archive.com/linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg01195.html
Piotr Szymaniak.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nilfs_cleanerd won't start for root filesystem
2012-08-02 9:23 ` Piotr Szymaniak
@ 2012-08-02 9:51 ` Ryusuke Konishi
0 siblings, 0 replies; 7+ messages in thread
From: Ryusuke Konishi @ 2012-08-02 9:51 UTC (permalink / raw)
To: Piotr Szymaniak; +Cc: dexen deVries, linux-nilfs-u79uwXL29TY76Z2rM5mHXA
Hi,
On Thu, 2 Aug 2012 11:23:06 +0200, Piotr Szymaniak wrote:
> On Wed, Aug 01, 2012 at 08:34:17PM +0900, Ryusuke Konishi wrote:
> > *snip*
> >
> > How about the following workaround?
> >
> > # ln -s /dev/<your-root-partition> /lib/udev/devices/root
> > # reboot
>
> My udev installation is missing /lib/udev/devices dir. Maybe that's also
> distribution specific?
Ah, udev-182 and earlier provided this feature, but now it seems to be
obsolete, so support of the feature seems to depend on effort of each
distro.
> As a workaround I just modified my cleanerd starter script [1] to check
> if /dev/root exists and, if it is missing, create proper /dev/root symlink
> to ${TARGETDISK} before nilfs_cleanerd is started.
>
> PS Is there some "proper" way to start nilfs_cleanerd on rootfs? Or
> every way is good as far as it works fine? (my solution is missing the
> gcpid=foo)
You can refect the gcpid attribute just by doing remount instead of
invoking cleanerd manually.
# mount -t nilfs2 -o remount <device> <mountpoint>
> [1] http://www.mail-archive.com/linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org/msg01195.html
>
> Piotr Szymaniak.
Regards,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-08-02 9:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01 7:21 nilfs_cleanerd won't start for root filesystem dexen deVries
2012-08-01 9:00 ` Piotr Szymaniak
2012-08-01 9:32 ` dexen deVries
2012-08-01 11:19 ` Piotr Szymaniak
2012-08-01 11:34 ` Ryusuke Konishi
[not found] ` <20120801.203417.104482564.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2012-08-02 9:23 ` Piotr Szymaniak
2012-08-02 9:51 ` Ryusuke Konishi
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.