[Lustre-discuss] client and ost on the same machine, quota
DT Piotr Wadas
pwadas at dtpw.pl
Sat Jan 2 03:50:07 PST 2010
On Thu, 31 Dec 2009, DT Piotr Wadas wrote:
> The same I got when I try to create quota files with
> lfs quotacheck -ug /mnt/lfs00
> command - I'm able to do this from remote client on the same fs,
> but unable with local client (rw mounted).
>
> [ 1700.798389] ioctl32(lctl:23023): Unknown cmd fd(3)
> cmd(c0046690){t:'f';sz:4} arg(ffc2fe70) on /dev/obd
> [ 2842.829452] ioctl32(lfs:23409): Unknown cmd fd(3)
> cmd(c00466a2){t:'f';sz:4} arg(ffc0a740) on /mnt/lfs00
> [ 4075.661809] ioctl32(lctl:23729): Unknown cmd fd(3)
> cmd(c004653b){t:'e';sz:4} arg(fffc9930) on /dev/lnet
> [ 4106.129849] ioctl32(lctl:23729): Unknown cmd fd(3)
> cmd(c0046532){t:'e';sz:4} arg(fffc9930) on /dev/lnet
> [ 4119.216135] ioctl32(lctl:23735): Unknown cmd fd(3)
> cmd(c0046532){t:'e';sz:4} arg(fff0eee0) on /dev/lnet
> [ 4259.594339] ioctl32(lctl:24118): Unknown cmd fd(3)
> cmd(c0046690){t:'f';sz:4} arg(ff8cdef0) on /dev/obd
> [ 5414.655030] ioctl32(lctl:24228): Unknown cmd fd(3)
> cmd(c0046690){t:'f';sz:4} arg(ff819780) on /dev/obd
> [ 5425.431048] ioctl32(lctl:24231): Unknown cmd fd(3)
> cmd(c0046690){t:'f';sz:4} arg(fff5f2b0) on /dev/obd
>
> My /etc/modprobe.d/lustre.conf is
>
> aleft:~# cat /etc/modprobe.d/lustre.conf
> options lnet networks=tcp0(eth3,lo)
> aleft:~#
>
> Except this issue with some strange behaviour accessing lustre
> fs from local client, everything seems to work fine.
Regarding Andreas Dilger's suggestion about using 32bit tools on 64bit
kernel - tools were build and make-installed on the same machine, actually
after booting to 64bit.. I did an strace on lctl lustre_build_version
command, here's significant part (I guess)
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\n\0\0004\0\0\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9736, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xf7d9d000
mmap2(0xf7d9f000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xf7d9f000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xf7d9c000
set_thread_area({entry_number:-1 -> 12, base_addr:0xf7d9c8d0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\"c\6\340", 4) = 4
close(3) = 0
mprotect(0xf7d9f000, 4096, PROT_READ) = 0
mprotect(0xf7efe000, 8192, PROT_READ) = 0
mprotect(0x809e000, 4096, PROT_READ) = 0
mprotect(0xf7f98000, 4096, PROT_READ) = 0
munmap(0xf7f70000, 34125) = 0
shmget(IPC_PRIVATE, 16468, 0600) = 229376
shmat(229376, 0, 0) = 0xf7f74000
shmctl(229376, IPC_64|IPC_RMID, 0) = 0
brk(0) = 0x9ca9000
brk(0x9cca000) = 0x9cca000
open("/dev/obd", O_RDWR) = 3
ioctl(3, 0xc0046690, 0xffc6b58c) = -1 EINVAL (Invalid argument)
write(2, "error: lustre_build_version: Inv"..., 46error:
lustre_build_version: Invalid argument
) = 46
I tried various kernel sources available on sun download site,
still the same.
DT
More information about the lustre-discuss
mailing list