Jump to content

[SOLVED] Can't start domains


Recommended Posts

So, changed nothing , needed to turn off power at home, so did graceful domain shutdown, stopped the array and ran a power off from the GUI.

 

Power back on, array starts fine, cannot start domains:

 

root@Tower:/mnt/cache/domains/dlna# virsh start DLNA

error: Failed to start domain DLNA

error: internal error: process exited while connecting to monitor: 2015-05-09T09:24:59.869165Z qemu-system-x86_64: -drive file=/mnt/cache/domains/dlna/dlna.img,if=none,id=drive-ide0-0-0,format=raw,cache=none,aio=native: could not open disk image /mnt/cache/domains/dlna/dlna.img: Could not open '/mnt/cache/domains/dlna/dlna.img': Permission denied

 

root@Tower:/mnt/cache/domains/dlna# ls -l

total 41943052

drwxrwxrwx 1 root root          36 Apr 30 21:44 DLNA/

-rw-rw-rw- 1 root root            0 Mar 30  2014 README.md-

-rw-rw-rw- 1 root root          843 Apr 20 12:07 dlna.cfg

-rw-rw-rw- 1 root root          843 Apr 20 12:12 dlna.cfg-

-rw-rw-rw- 1 root users 42949672960 May  9 09:55 dlna.img

-rw-rw-rw- 1 root root          771 Mar 30  2014 win7.cfg-

 

root@Tower:/mnt/cache/domains/dlna# id

uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),281(docker)

 

Same problem for other domain.

 

Any ideas ? I'm root and permissions seem fine....

 

Should have added I first tried to start them via the GUI but got no error message, just didn't start - is there an error log somewhere for GUI failures?

Link to comment

Everything was rock solid under Xen.

 

I rebooted again and it mounted rw, ran a scrub on btrfs and no errors, copied data off it, reformatted cache as xfs maybe that will help...

 

Running parity check.

 

No smart errors anywhere I can see.

 

Not sure if this issue is still bothering you, but this line is a little odd:

 

-rw-rw-rw- 1 root users 42949672960 May  9 09:55 dlna.img

 

The rest of the files in there are root/root.  This is root/users.  Maybe a chown would solve that for you?  Not sure how it got changed to begin with though...

Link to comment

Touch wood everything has been OK since moving to XFS but need to carry out some host reboots to be sure as that's when the issue occurred.

 

Ok.  Next time you do, please report back and let me know if you have an issue.  Definitely want to make sure no problems occur.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...