nfs Partitionen-images per loop lokal mounten
Stefan Pump
lug at pumpnet.de
Fri Aug 20 16:48:07 CEST 2004
On Fri, 2004-08-20 13:38:29 +0200, Stefan Pump <lug at pumpnet.de>
> Das ist technisch erstmal OK.
Ist ja auch fast wörtlich aus Deiner Feder ;-)
> > elvis:~ # mount /mnt/sda2
> > mount: wrong fs type, bad option, bad superblock on /dev/loop5,
> > or too many mounted file systems
> > elvis:~ #
>
> Ah ja, strace?
(Vorsicht: strace-newbie)
elvis:~ # strace -o mount.log mount /mnt/sda2
Bleibt hängen. STRG+c bricht nichts ab und per kill, kann ich den
Prozeß auch nicht beenden
elvis:~ # cat mount.log
execve("/bin/mount", ["mount", "/mnt/sda2"], [/* 56 vars */]) = 0
uname({sys="Linux", node="elvis", ...}) = 0
brk(0) = 0x805adb0
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=57436, ...}) = 0
old_mmap(NULL, 57436, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
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\20\206"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1321765, ...}) = 0
old_mmap(NULL, 1178880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40023000
mprotect(0x40139000, 40192, PROT_NONE) = 0
old_mmap(0x40139000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x115000) = 0x40139000
old_mmap(0x4013f000, 15616, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013f000
close(3) = 0
munmap(0x40014000, 57436) = 0
brk(0) = 0x805adb0
brk(0x805add8) = 0x805add8
brk(0x805b000) = 0x805b000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2601
brk(0x805c000) = 0x805c000
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40014000, 4096) = 0
open("/usr/lib/locale/de_DE+euro/LC_CTYPE", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/locale/de_DE at euro/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=201916, ...}) = 0
old_mmap(NULL, 201916, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40143000
close(3) = 0
umask(033) = 022
open("/dev/null", O_RDWR|O_LARGEFILE) = 3
close(3) = 0
brk(0x805d000) = 0x805d000
getuid32() = 0
geteuid32() = 0
lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=431, ...}) = 0
brk(0x805f000) = 0x805f000
readlink("/mnt", 0xbfffe4b0, 4096) = -1 EINVAL (Invalid argument)
readlink("/mnt/sda2", 0xbfffe4b0, 4096) = -1 EINVAL (Invalid argument)
umask(077) = 033
open("/etc/fstab", O_RDONLY|O_LARGEFILE) = 3
umask(033) = 077
fstat64(3, {st_mode=S_IFREG|0644, st_size=1385, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(3, "/dev/hda1\t/boot\text2\tdefaults 1 "..., 4096) = 1385
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40014000, 4096) = 0
stat64("/dev/loop0", {st_mode=S_IFBLK|0660, st_rdev=makedev(7, 0),
...}) = 0
open("/dev/loop0", O_RDONLY|O_LARGEFILEelvis:~ #
"
Normaler Aufruf ohne strace liefert den erwähnten "...wrong fs type,
bad option, bad superblock on ..."
> > aufruf von nwvol (Progi das die Volumes finden soll)
>...
> strace?
okay:
elvis:~ # strace -o nwvol.log nwvol
NWVOL
Copyright (C) 1998-1999 Jeff V. Merkey
All Rights Reserved
Scanning Disks ...
NetWare Volume(s)
elvis:~ # cat nwvol.log
execve("/usr/sbin/nwvol", ["nwvol"], [/* 56 vars */]) = 0
uname({sys="Linux", node="elvis", ...}) = 0
brk(0) = 0x80a9a60
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=57436, ...}) = 0
old_mmap(NULL, 57436, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3) = 0
open("/lib/libncurses.so.5", 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\0P\357\0"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=307598, ...}) = 0
old_mmap(NULL, 273516, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40023000
mprotect(0x4005a000, 48236, PROT_NONE) = 0
old_mmap(0x4005a000, 49152, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x36000) = 0x4005a000
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\20\206"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1321765, ...}) = 0
old_mmap(NULL, 1178880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40066000
mprotect(0x4017c000, 40192, PROT_NONE) = 0
old_mmap(0x4017c000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x115000) = 0x4017c000
old_mmap(0x40182000, 15616, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40182000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40186000
munmap(0x40014000, 57436) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
write(1, "NWVOL\n", 6) = 6
write(1, "Copyright (C) 1998-1999 Jeff V. "..., 39) = 39
write(1, "All Rights Reserved\n", 20) = 20
write(1, "\n", 1) = 1
brk(0) = 0x80a9a60
brk(0x80aca78) = 0x80aca78
brk(0x80ad000) = 0x80ad000
brk(0x80be000) = 0x80be000
write(1, "\nScanning Disks ... \n", 21) = 21
brk(0x80c0000) = 0x80c0000
brk(0x80c2000) = 0x80c2000
brk(0x80c4000) = 0x80c4000
open("/dev/hda", O_RDWR) = 3
ioctl(3, 0x301, 0xbffff170) = 0
lseek(3, 0, SEEK_SET) = 0
read(3, "\353H\220\0\300\7LILO\1\0\25\7Z\0\0\0\0\0000\332\307=\27"...,
512) = 512
lseek(3, 512, SEEK_SET) = 512
read(3, "\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"...,
512) = 512
lseek(3, 1024, SEEK_SET) = 1024
read(3, "\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"...,
512) = 512
lseek(3, 1536, SEEK_SET) = 1536
read(3, "\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"...,
512) = 512
lseek(3, 2048, SEEK_SET) = 2048
read(3, "\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"...,
512) = 512
lseek(3, 2560, SEEK_SET) = 2560
read(3, "\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"...,
512) = 512
lseek(3, 3072, SEEK_SET) = 3072
read(3, "\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"...,
512) = 512
lseek(3, 3584, SEEK_SET) = 3584
read(3, "\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"...,
512) = 512
open("/dev/hdb", O_RDWR) = 4
ioctl(4, 0x301, 0xbffff170) = 0
lseek(4, 0, SEEK_SET) = 0
read(4, "3\300\216\320\274\0|\373P\7P\37\374\276\33|\277\33\6PW"...,
512) = 512
lseek(4, 512, SEEK_SET) = 512
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 1024, SEEK_SET) = 1024
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 1536, SEEK_SET) = 1536
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 2048, SEEK_SET) = 2048
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 2560, SEEK_SET) = 2560
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 3072, SEEK_SET) = 3072
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 3584, SEEK_SET) = 3584
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
open("/dev/hdc", O_RDWR) = 5
ioctl(5, 0x301, 0xbffff170) = 0
lseek(5, 0, SEEK_SET) = 0
read(5, "3\300\216\320\274\0|\373P\7P\37\374\276\33|\277\33\6PW"...,
512) = 512
lseek(5, 512, SEEK_SET) = 512
read(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"...,
512) = 512
lseek(5, 1024, SEEK_SET) = 1024
read(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"...,
512) = 512
lseek(5, 1536, SEEK_SET) = 1536
read(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"...,
512) = 512
lseek(5, 2048, SEEK_SET) = 2048
read(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"...,
512) = 512
lseek(5, 2560, SEEK_SET) = 2560
read(5, "ZISD\5\0\0\0\250\1\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0"...,
512) = 512
lseek(5, 3072, SEEK_SET) = 3072
read(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"...,
512) = 512
lseek(5, 3584, SEEK_SET) = 3584
read(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"...,
512) = 512
open("/dev/hdd", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hde", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdf", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdg", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdh", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdi", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdj", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdk", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdl", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdm", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdn", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdo", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdp", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdq", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdr", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hds", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hdt", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sda", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdb", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdc", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdd", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sde", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdf", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdg", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdh", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdi", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdj", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdk", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdl", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdm", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdn", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdo", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdp", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdq", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdr", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sds", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdt", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdu", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdv", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdw", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdx", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdy", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdz", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdaa", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdab", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdac", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdad", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdae", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdaf", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdag", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdah", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdai", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdaj", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdak", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdal", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdam", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdan", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdao", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdap", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdaq", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdar", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdas", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdat", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdau", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdav", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdaw", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdax", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sday", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdaz", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdba", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbb", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbc", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbd", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbe", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbf", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbg", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbh", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbi", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbj", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbk", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbl", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbm", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbn", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbo", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbp", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbq", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbr", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbs", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbt", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbu", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbv", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbw", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbx", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdby", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdbz", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdca", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcb", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcc", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcd", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdce", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcf", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcg", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdch", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdci", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcj", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdck", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcl", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcm", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcn", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdco", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcp", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcq", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcr", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcs", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdct", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcu", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcv", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcw", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcx", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcy", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdcz", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdda", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddb", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddc", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddd", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdde", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddf", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddg", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddh", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddi", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddj", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddk", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddl", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddm", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddn", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddo", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddp", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddq", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddr", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sdds", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddt", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddu", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddv", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddw", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/sddx", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/eda", O_RDWR) = -1 ENOENT (No such file or
directory)
open("/dev/edb", O_RDWR) = -1 ENOENT (No such file or
directory)
open("/dev/xda", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/xdb", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/mfma", O_RDWR) = -1 ENOENT (No such file or
directory)
open("/dev/mfmb", O_RDWR) = -1 ENOENT (No such file or
directory)
open("/dev/pf0", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/pf1", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/pf2", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/pf3", O_RDWR) = -1 ENXIO (No such device or
address)
brk(0x80c5000) = 0x80c5000
write(1, "NetWare Volume(s)\n", 18) = 18
close(3) = 0
close(4) = 0
close(5) = 0
write(1, "\n", 1) = 1
munmap(0x40014000, 4096) = 0
_exit(0) = ?
> Mach' doch mal einen symlink von "/dev/hd*" (sucht der da
> wirklich:-)
> auf /dev/loop2, nachdem Du per Hand das Image an loop2 geknotet
> hast.
derselbe output:
elvis:/dev # losetup /dev/loop4 /path/to/img/sda2.img
elvis:/dev # ln -s /dev/loop4 hdd1
elvis:/dev # ll hdd*
brw-rw---- 1 root disk 22, 64 Oct 14 2002 hdd
lrwxrwxrwx 1 root root 10 Aug 20 16:05 hdd1 ->
/dev/loop4
brw-rw---- 1 root disk 22, 74 Oct 14 2002 hdd10
[...}
elvis:/dev # cat nwvol2.log
execve("/usr/sbin/nwvol", ["nwvol"], [/* 57 vars */]) = 0
uname({sys="Linux", node="elvis", ...}) = 0
brk(0) = 0x80a9a60
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=57436, ...}) = 0
old_mmap(NULL, 57436, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3) = 0
open("/lib/libncurses.so.5", 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\0P\357\0"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=307598, ...}) = 0
old_mmap(NULL, 273516, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40023000
mprotect(0x4005a000, 48236, PROT_NONE) = 0
old_mmap(0x4005a000, 49152, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x36000) = 0x4005a000
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\20\206"...,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1321765, ...}) = 0
old_mmap(NULL, 1178880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40066000
mprotect(0x4017c000, 40192, PROT_NONE) = 0
old_mmap(0x4017c000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x115000) = 0x4017c000
old_mmap(0x40182000, 15616, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40182000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40186000
munmap(0x40014000, 57436) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
write(1, "NWVOL\n", 6) = 6
write(1, "Copyright (C) 1998-1999 Jeff V. "..., 39) = 39
write(1, "All Rights Reserved\n", 20) = 20
write(1, "\n", 1) = 1
brk(0) = 0x80a9a60
brk(0x80aca78) = 0x80aca78
brk(0x80ad000) = 0x80ad000
brk(0x80be000) = 0x80be000
write(1, "\nScanning Disks ... \n", 21) = 21
brk(0x80c0000) = 0x80c0000
brk(0x80c2000) = 0x80c2000
brk(0x80c4000) = 0x80c4000
open("/dev/hda", O_RDWR) = 3
ioctl(3, 0x301, 0xbffff160) = 0
lseek(3, 0, SEEK_SET) = 0
read(3, "\353H\220\0\300\7LILO\1\0\25\7Z\0\0\0\0\0000\332\307=\27"...,
512) = 512
lseek(3, 512, SEEK_SET) = 512
read(3, "\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"...,
512) = 512
lseek(3, 1024, SEEK_SET) = 1024
read(3, "\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"...,
512) = 512
lseek(3, 1536, SEEK_SET) = 1536
read(3, "\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"...,
512) = 512
lseek(3, 2048, SEEK_SET) = 2048
read(3, "\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"...,
512) = 512
lseek(3, 2560, SEEK_SET) = 2560
read(3, "\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"...,
512) = 512
lseek(3, 3072, SEEK_SET) = 3072
read(3, "\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"...,
512) = 512
lseek(3, 3584, SEEK_SET) = 3584
read(3, "\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"...,
512) = 512
open("/dev/hdb", O_RDWR) = 4
ioctl(4, 0x301, 0xbffff160) = 0
lseek(4, 0, SEEK_SET) = 0
read(4, "3\300\216\320\274\0|\373P\7P\37\374\276\33|\277\33\6PW"...,
512) = 512
lseek(4, 512, SEEK_SET) = 512
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 1024, SEEK_SET) = 1024
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 1536, SEEK_SET) = 1536
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 2048, SEEK_SET) = 2048
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 2560, SEEK_SET) = 2560
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 3072, SEEK_SET) = 3072
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
lseek(4, 3584, SEEK_SET) = 3584
read(4, "\10\214\3\232_xv\224\217E\277I\343\226\0\300\210\235\335"...,
512) = 512
open("/dev/hdc", O_RDWR) = 5
ioctl(5, 0x301, 0xbffff160) = 0
lseek(5, 0, SEEK_SET) = 0
read(5, "3\300\216\320\274\0|\373P\7P\37\374\276\33|\277\33\6PW"...,
512) = 512
lseek(5, 512, SEEK_SET) = 512
read(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"...,
512) = 512
lseek(5, 1024, SEEK_SET) = 1024
read(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"...,
512) = 512
lseek(5, 1536, SEEK_SET) = 1536
read(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"...,
512) = 512
lseek(5, 2048, SEEK_SET) = 2048
read(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"...,
512) = 512
lseek(5, 2560, SEEK_SET) = 2560
read(5, "ZISD\5\0\0\0\250\1\0\0\2\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0"...,
512) = 512
lseek(5, 3072, SEEK_SET) = 3072
read(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"...,
512) = 512
lseek(5, 3584, SEEK_SET) = 3584
read(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"...,
512) = 512
open("/dev/hdd", O_RDWR) = -1 ENXIO (No such device or
address)
open("/dev/hde", O_RDWR) = -1 ENXIO (No such device or
[und so weiter...]
brk(0x80c5000) = 0x80c5000
write(1, "NetWare Volume(s)\n", 18) = 18
close(3) = 0
close(4) = 0
close(5) = 0
write(1, "\n", 1) = 1
munmap(0x40014000, 4096) = 0
_exit(0) = ?
elvis:/dev #
> > keine Spur von /dev/loop*
> >
> > M?glich w?re es vielleicht, wenn ich dem nwvol das loop-device
> > irgendwie als
> > echtes Disk-Device verkaufen k?nnte.
>
> Symlink wäre ein anfang, ebenso wie strace-Ausgaben, nicht das, was
> Du
> daraus interpretierst:)
in der prozeßliste finde ich folgendes:
bei hängen gebliebenen strace mount...
root 2097 0.0 0.1 1468 552 ? T 15:44 0:00
strace -o mount.log mount /mnt/sda2
root 2098 0.0 0.1 1548 536 ? D 15:44 0:00 mount
/mnt/sda2
root 2203 0.0 0.0 0 0 ? SW 15:56 0:00
[nwfs-remirror]
root 2204 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-flush]
root 2205 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-callback]
root 2206 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-async0]
root 2207 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-async1]
root 2208 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-async2]
root 2209 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-async3]
root 2210 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-async4]
root 2211 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-async5]
root 2212 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-async6]
root 2213 0.0 0.0 0 0 ? DW 15:56 0:00
[nwfs-async7]
> MfG, JBG
gruß,
Stefan
More information about the Linux
mailing list