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

Re: losetup at boot



Hi


~ Happy install !




Cellphone   :  +51 950307809 
Blog   :  http://piobox.blogspot.com/
LUG   :  http://www.utpinux.org
Linux User ID :  549567 
IRC    :   zerick
About :  http://about.me/zerick

----------------------------------------------
sı ɯǝ1qoɹd ɹnoʎ ʇɐɥʍ ǝǝs ı ʞuıɥʇ ı


On 28 August 2013 04:25, basti <black.fledermaus@arcor.de> wrote:
Hi,
what have you done until now?
I had a similar problem with postgres + shmmax the simple solution for me was to edit the init script and set shmmax there.

Me too. I had to edit DRBD's init script. What do you do for poweroff/reboot process? Do you know if it's safely unmounted or there's something to do before shuting down. Something like losetup -d 

Regards,
basti

On 27.08.2013 22:59, Erick Ocrospoma wrote:
Hi,

I'm trying to do the same as here http://askubuntu.com/questions/54970/how-to-set-up-a-loop-device-at-boot-time with no success, basically I've setup a block device attached to a loop device, what I need is to load this one at boot.

Not really sure if Upstart is fully supported, AFAIK there's also some sysvinit scripts. Does anybody knows any other or functional way to make it setup on boot?

Not really sure, but running from /etc/rc.local could be not the answer, I will use this loop device for DRBD, so I need it to be set before DRBD starts, that's why I focused on using Upstart.


Thanks in advance!


~ Happy install !




Cellphone   :  +51 950307809 
Linux User ID :  549567 
IRC    :   zerick

----------------------------------------------
sı ɯǝ1qoɹd ɹnoʎ ʇɐɥʍ ǝǝs ı ʞuıɥʇ ı



Reply to: