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

Re: [linux-lvm] re-activate lv after reboot ?



On Tue, Apr 21, 2009 at 11:47 PM, vu pham <vu sivell com> wrote:
> My server uses iscsiadm to access a remote iscsi device. VG and LV are
> created on that device and can be accessed just fine.
> The problem is after reboot, the LVs are in inactive mode and I have to run
> vgchange -a y to activate the VG on the iscsi device or to put that command
> /etc/rcd./rc.local.
>
> Is there any way to automatically to activate those LVs/VGs when the iscsi
> device starts ?
>

First make sure node.startup is set to automatic in /etc/iscsi/iscsi.conf. Then
you can edit /etc/fstab and mount your lv using _netdev.

--
Regards,
Edward Choi.


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