Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Parallels Cloud Server (http://quantrinet.com/forum/forumdisplay.php?f=523)
-   -   the VM can't boot (No boot device is available, Press enter to access (http://quantrinet.com/forum/showthread.php?t=9664)

hoctinhoc 23-10-2014 11:36 AM

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!


Bây giờ là 10:16 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.