Thanks for replying thedaver, if i don't do a "umount" before i do a "reboot", I will receive an error and the system will be stopped on the shutdown process. Detailed error is RIP scsi_mod:scsi_device_put+0x1b/0x60, RSP <ffff8100e034bdf8> CR2: ffffffff8830d200 Killed [Failed]
*Will now restart
<7>ide-cdrom 1.0:shutdown
sd 0:0:0:0: shutdown
And it just hang from here and never went to shutdown and reboot. My guess is if I put something like "umount /dev/sdc" in one of the rc script I will be fine. But I don't know which one to put in this ubuntu/debian system. I know where my startup script is, but usually don't need to modify "shutdown/reboot" ones. >.< Thanks
Most likely, if you're mounting the san storage on a permanent basis, you should be doing it with /etc/fstab. If you're not, you should change it. It will automatically unmount it at shutdown, and you won't have to worry about additional scripts.
However, if that's not feasable for whatever reason, you should be able to put something in your /etc/init.d/rc6.d (Runlevel 6--- what happens when you shut down)... if I remember correctly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.