Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 23-10-2014, 11:36 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
the VM can't boot (No boot device is available, Press enter to access
The VM can't boot (No boot device is available, Press enter to access)


Khi bạn bị lỗi sau và Virtual Machine ko boot vào được hdd

"""""""""""
No boot device is available, Press enter to access

"""""""""""

Cách Fix

1. Check log

#tail -n 200 /var/parallels/DBO_S4.pvm/parallels.log


Trích dẫn:
While checking the logs for the VM DBO_S4 (on the node: minicloud03) at
/var/parallels/DBO_S4.pvm/parallels.log, I found the following information:

--
/vdisk:7186:7195/ Error locking file
/var/parallels/DBO_S4.pvm/harddisk.hdd/harddisk.hdd [0]
05-21 11:59:21.841 F /vdisk:7186:7195/ Couldn't lock disk: 0x80021014
05-21 11:59:21.841 F /vdisk:7186:7195/ OpenDisk() returned error 0x80021014
05-21 11:59:21.842 F /ioctl:7186:7195/ descr 24 reopened to be 102399
--
2. Tìm ổ cứng đang chạy

#lsof 2>/dev/null | grep hdd

Trích dẫn:
I tried to find out the HDD atached to it:

--
[root@minicloud03 DBO_S4.pvm]# lsof 2>/dev/null | grep hdd
prl_vm_ap 7186 root 41uW REG 0,21 0
967 /pstorage/minicloud/vmprivate/DBO_S4.pvm/harddisk.hdd/harddisk.hdd
prl_vm_ap 7186 root 42uW REG 0,21 7800356864
975
/pstorage/minicloud/vmprivate/DBO_S4.pvm/harddisk.hdd

/harddisk.hdd.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds
prl_vm_ap 7186 root 85uW REG 0,21 7800356864
975

/pstorage/minicloud/vmprivate/DBO_S4.pvm/harddisk.hdd/harddisk.hdd.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds
3. Stop VM

[root@minicloud03 DBO_S4.pvm]# prlctl stop DBO_S4
Stopping the VM...
The VM has been successfully stopped.

4. Tìm lại ổ cứng

[root@minicloud03 DBO_S4.pvm]# lsof 2>/dev/null | grep hdd

5. Gõ lệnh unmount các ổ cứng

[root@minicloud03 DBO_S4.pvm]#

""""""""""""
pstorage revoke /pstorage/minicloud/vmprivate/DBO_S4.pvm/harddisk.hdd/harddisk.hdd

"""""""""""""

6. Unregister the VM

#prlctl unregister DBO_SB

7.Register lại VM

#prlctl register /pstorage/minicloud/vmprivate/DBO_S4.pvn

8. Start lại VM

# prlctl start DBO_SB


Done

Chúc các bạn thành công!
  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 02:35 AM. Giờ GMT +7



Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.