[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [2.6.14-rc3-git3/x86_64]: lvrename stalls on rename snapshot volume




[root v20z-2 ~]# vgs -a; lvs
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
  VG     #PV #LV #SN Attr  VSize   VFree
  users    1   2   0 wz--n 499,99G 49,99G
  v20z.2   1   3   0 wz--n  63,75G     0
  zie      1   3   0 wz--n 124,99G 56,99G
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
  LV       VG     Attr   LSize   Origin Snap%  Move Log Copy%
  prac     users  -wi-ao 225,00G
  studenci users  -wi-ao 225,00G
  home     v20z.2 -wi-ao  33,75G
  root     v20z.2 -wi-ao  10,00G
  var      v20z.2 -wi-ao  20,00G
  mail     zie    -wi-ao  24,00G
  mailman  zie    -wi-ao   8,00G
[root v20z-2 ~]# lvcreate -s -L5G -c 4k -p r -n prac-1 /dev/users/prac
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
  Logical volume "prac-1" created
[root v20z-2 ~]# lvs -a
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
  LV       VG     Attr   LSize   Origin Snap%  Move Log Copy%
  prac     users  owi-ao 225,00G
  [prac-1] users  sri-a-   5,00G prac     0,00
  studenci users  -wi-ao 225,00G
  home     v20z.2 -wi-ao  33,75G
  root     v20z.2 -wi-ao  10,00G
  var      v20z.2 -wi-ao  20,00G
  mail     zie    -wi-ao  24,00G
  mailman  zie    -wi-ao   8,00G
  srv      zie    -wi-ao  36,00G
[root v20z-2 ~]# lvrename /dev/users/prac-1 /dev/users/prac-2
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open

And in this poind lvrename stalls with sleeping in kernel in function:

# ps -eo wchan,args | grep lvrename
sync_b lvrename /dev/users/prac-1 /dev/users/prac-2
^^^^^^

lvrename can't be killed. Also system can't be shutdowned because hanging lvrename stops shutdown. All other works correctly and there is kernel messages.

kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek rudy mif pg gda pl*

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]