Settings

Theme

Attach a volume to a container while it is running

jpetazzo.github.io

1 points by haridsv 10 years ago · 2 comments

Reader

haridsvOP 10 years ago

Has anyone gotten this script to work? In my case, the device name happened to be /dev/mapper/vg-home, so I had to manually create /dev/mapper for the mknod to work. I also had to specify the fstype, but now I am seeing the below error:

mount: /dev/mapper/vg-home is not a valid block device

  • haridsvOP 10 years ago

    Got it working. The problem was that /dev/mapper/vg-home was a symbolic link so stat wasn't giving the right major and minor numbers, so once I fixed that it worked well.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection