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

lvcreate出错



Hi, all:
    最近用lvcreate出现错误,报错如下:
shell-deb:/etc# lvcreate -L 10G -n oracle main
  /dev/mapper/main-oracle: open failed: 没有那个文件或目录
  /dev/main/oracle: not found: device not cleared
  Aborting. Failed to wipe start of new LV.
  semid 3833872: semop failed for cookie 0xd4dba12: incorrect semaphore state
  Failed to set a proper state for notification semaphore identified by cookie value 223197714 (0xd4dba12) to initialize waiting for incoming notifications.

    空间是足够的,lvm的信息如下:
shell-deb:/etc# vgdisplay 
  --- Volume group ---
  VG Name               main
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  113
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               229.19 GiB
  PE Size               4.00 MiB
  Total PE              58673
  Alloc PE / Size       33024 / 129.00 GiB
  Free  PE / Size       25649 / 100.19 GiB
  VG UUID               2KL8DL-qO6R-b6vQ-79Sz-kWRQ-lF2z-ERV0Ya
   
shell-deb:/etc# lvs
  LV   VG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  home main -wi-ao 123.00g                                      
  swap main -wi-ao   6.00g           

    我检查了是否是名称和大小的问题,变更名称和大小后问题没有解决。vgscan/lvscan/pvscan没有帮助。
    系统是debian testing 32位版本,使用64位内核。内核和lvm版本如下:
Linux shell-deb 3.0.0-1-amd64 #1 SMP Sat Aug 27 17:19:41 UTC 2011 x86_64 GNU/Linux
ii  liblvm2app2.2                        2.02.86-1                         LVM2 application library
ii  lvm2                                 2.02.86-1                         Linux Logical Volume Manager

    有人见过这个问题么?是我配置的问题还是bug?在redhat的bugzilla里面我找到一篇类似的东西(https://bugzilla.redhat.com/show_bug.cgi?id=446659),但是没有解决问题。
    感激您的任何帮助。
                                                Shell

Reply to: