Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-21-2011, 06:25 AM
#1
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749
Rep:
fsck not checking non-root file system at boot time...
Hello, got a small issue. Fsck is not check any file system which are not root file system at boot time.
Normally it run: /sbin/fsck -A -R -C -a
but this command doesn't do anything.
I've tried to strace it, and looks like this:
Code:
execve("/sbin/fsck", ["fsck", "-A", "-R", "-C", "-a"], [/* 38 vars */]) = 0
brk(0) = 0x80b7000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7726000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=147584, ...}) = 0
mmap2(NULL, 147584, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7701000
close(3) = 0
open("/lib/libblkid.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P9\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=122096, ...}) = 0
mmap2(NULL, 120812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xba1000
mmap2(0xbbd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c) = 0xbbd000
close(3) = 0
open("/lib/libuuid.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\r\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=11408, ...}) = 0
mmap2(NULL, 14168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x352000
mmap2(0x355000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x355000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20o\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1651695, ...}) = 0
mmap2(NULL, 1452456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x144000
mprotect(0x2a0000, 4096, PROT_NONE) = 0
mmap2(0x2a1000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0x2a1000
mmap2(0x2a4000, 10664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a4000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7700000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76ff000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb76ff700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x2a1000, 8192, PROT_READ) = 0
mprotect(0xb2a000, 4096, PROT_READ) = 0
munmap(0xb7701000, 147584) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
brk(0) = 0x80b7000
brk(0x80d8000) = 0x80d8000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7725000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7725000, 4096) = 0
open("/usr/lib/locale/en_US/LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
close(3) = 0
open("/usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
mmap2(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7725000
close(3) = 0
open("/usr/lib/locale/en_US/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=221612, ...}) = 0
mmap2(NULL, 221612, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb76c8000
close(3) = 0
rt_sigaction(SIGINT, {0x8049590, [], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x8049590, [], 0}, NULL, 8) = 0
open("/usr/share/locale/en_US/LC_MESSAGES/util-linux-ng.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/util-linux-ng.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "fsck from util-linux-ng 2.18\n", 29fsck from util-linux-ng 2.18
) = 29
open("/etc/fstab", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=257, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7724000
read(3, "devpts /dev/pts devpts gid=5,mod"..., 4096) = 257
getcwd("/root", 4095) = 6
readlink("/root/devpts", 0xbff852df, 4096) = -1 ENOENT (No such file or directory)
getcwd("/root", 4095) = 6
readlink("/root/proc", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev/sda1", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev/sda5", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev/sdb1", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev/sdc1", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
readlink("/dev/sdd1", 0xbff852df, 4096) = -1 EINVAL (Invalid argument)
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7724000, 4096) = 0
exit_group(0) = ?
Does anybody know whats the issue? and yes it's Slackware (current).
04-21-2011, 10:01 AM
#2
LQ Veteran
Registered: May 2008
Posts: 6,897
Is the 6th field of your /etc/fstab entry set to an appropriate non-zero value ("2" is the common choice) for all your additional filesystems?
04-21-2011, 03:28 PM
#3
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749
Original Poster
Rep:
Hi, thanks, that worked, my other file systems had also 0 0
All times are GMT -5. The time now is 12:44 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News