Fatal: geo_query_dev HDIO_GETGEO (dev 0xfe00): Inappropriate ioctl for device

Marcin Winkler qurczak w wolomin.biz
Nie, 27 Sie 2006, 21:37:17 CEST


Dnia Sun, 27 Aug 2006 21:31:31 +0200
Jakub Bogusz <qboosh w pld-linux.org> napisał(a):

> Co za urządzenie jest pod deskryptorem 7? Na tym kawałku nie widać
> open() dla niego.

To jeszcze raz

5189  stat64("/dev/mapper/.", {st_dev=makedev(254, 1), st_ino=83065,
st_mode=S_IFDIR|0755, st_nlink=2, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=4096, st_atime=2006/08/27-21:33:47,
st_mtime=2006/08/27-21:12:37, st_ctime=2006/08/27-21:12:37}) = 0 5189
stat64("/dev/mapper/..", {st_dev=makedev(254, 1), st_ino=65537,
st_mode=S_IFDIR|0755, st_nlink=23, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=96, st_size=49152, st_atime=2006/08/27-21:33:46,
st_mtime=2006/08/27-21:12:38, st_ctime=2006/08/27-21:12:38}) = 0 5189
stat64("/dev/mapper/control", {st_dev=makedev(254, 1), st_ino=83064,
st_mode=S_IFCHR|0660, st_nlink=1, st_uid=0, st_gid=6, st_blksize=4096,
st_blocks=0, st_rdev=makedev(10, 63), st_atime=2005/12/16-15:49:47,
st_mtime=2005/12/16-15:49:47, st_ctime=2006/08/27-21:12:37}) = 0 5189
stat64("/dev/mapper/vg-swap", {st_dev=makedev(254, 1), st_ino=81930,
st_mode=S_IFBLK|0600, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=0, st_rdev=makedev(254, 0), st_atime=2006/08/27-21:32:54,
st_mtime=2006/08/27-21:09:04, st_ctime=2006/08/27-21:09:04}) = 0 5189
close(9)                          = 0 5189
close(8)                          = 0 5189  open("/dev/mapper/vg-swap",
O_RDONLY) = 8 5189  read(8,
"\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
5189  close(8)                          = 0 5189
sync()                            = 0 5189  open("/dev/mapper/vg-swap",
0x4 /* O_??? */) = 8 5189  open("/dev/hda", O_RDWR)          = 9 5189
read(9, "\372", 1)                = 1 5189  ioctl(9, 0x301,
0xbfc243a8)       = 0 5189  close(9)                          = 0 5189
open("/dev/hdb", O_RDWR)          = -1 ENXIO (No such device or
address) 5189  ioctl(8, 0x301, 0xbfc24488)       = -1 ENOTTY
(Inappropriate ioctl for device) 5189  write(1, "Fatal: geo_query_dev
HDIO_GETGEO"..., 78) = 78 5189  sync()                            = 0
5189  close(4)                          = 0 5189  munmap(0xb7f12000,
4096)          = 0 5189  exit_group(1)                     = ?

Wygląda ze deskryptor nie odczepia sie od /dev/vg/swap ?

> Ewentualnie grep 254 /proc/devices.


-bash-3.1# grep 254 /proc/devices
254 device-mapper

A partycje to:
/dev/mapper/vg-root_backup
                     1008M  525M  484M  53% /
/dev/hda1              99M  7,0M   92M   8% /boot

-- 
"Nieobecni nie mają racji"

Marcin Winkler


Więcej informacji o liście dyskusyjnej pld-devel-pl