List Info

Thread: Re: Mount iscsi disks at startup




Re: Mount iscsi disks at startup
country flaguser name
Spain
2007-04-11 09:22:48
berthiaume_wayneemc.com wrote:
> Please send a snippet of the iscsi entri in
/etc/fstab... 
> 
> -----Original Message-----
> From: nahant-list-bouncesredhat.com
> [mailto:nahant-list-bouncesredhat.com] On Behalf Of
carlopmart
> Sent: Wednesday, April 11, 2007 2:56 AM
> To: Red Hat Enterprise Linux 4 (Nahant) Discussion
List
> Subject: Re: Mount iscsi disks at startup
> 
> berthiaume_wayneemc.com wrote:
>> Do you have the iscsi daemon set up? It should be
on for runlevels 2,
> 3,
>> 4, & 5.
>>
>> chkconfig --list iscsi 
>>
>> -----Original Message-----
>> From: nahant-list-bouncesredhat.com
>> [mailto:nahant-list-bouncesredhat.com] On Behalf Of
carlopmart
>> Sent: Tuesday, April 10, 2007 9:27 AM
>> To: Red Hat Enterprise Linux 4 (Nahant) Discussion
List
>> Subject: Re: Mount iscsi disks at startup
>>
>> berthiaume_wayneemc.com wrote:
>>> Yes, using the _netdev in /etc/fstab should
work in RHEL 4 U4. The
>> init
>>> scripts did have some problems but it is more
related to multipathing
>>> and when devices are under udev() control. This
is because the
> network
>>> is up after DM-MPIO. I believe this is no
longer an issue.  
>>>
>>> -----Original Message-----
>>> From: nahant-list-bouncesredhat.com
>>> [mailto:nahant-list-bouncesredhat.com] On Behalf Of Brian Long
>>> Sent: Tuesday, April 10, 2007 9:10 AM
>>> To: Red Hat Enterprise Linux 4 (Nahant)
Discussion List
>>> Subject: Re: Mount iscsi disks at startup
>>>
>>> On Tue, 2007-04-10 at 13:15 +0200, carlopmart
wrote:
>>>> Hi all,
>>>>
>>>>   Somebody knows how can I mount iscsi
disks at startup on rhel4? I
>>> need a 
>>>> solution GFS on cluster suite does, using
fstab ...
>>> If I remember correctly, RHEL 4's
/etc/rc.sysinit does not have the
>>> proper steps needed to find iSCSI disks on boot
such that /etc/fstab
>>> entries will mount properly.  I may be thinking
of RHEL 4 U2 and this
>>> may be fixed in RHEL 4 U4, but I'm not sure.  I
know the /etc/fstab
>>> entry needs to use an fstype of _netdev.
>>>
>>> /Brian/
>>>
>> Thanks, but i have put _netdev under fstab and
iscsi disk are not
>> mounted when 
>> host is rebooted .. I am using Rhel 4 U4 ...
>>
>> Use rc.local file is not a solution because i need
to start a service
>> (apache) 
>> before rc.local is executed ...
>>
>>
>>
>>
> Yes, I hav iscsi enabled on runlevels 2,3,4 and 5:
> 
> [rootoratemp ~]# chkconfig --list iscsi
> iscsi           0:off   1:off   2:on    3:on    4:on   
5:on    6:off
> [rootoratemp ~]#
> 
> 
Here it is:

# This file is edited by fstab-sync - see 'man fstab-sync'
for details
/dev/sdb1               swap                    swap   
defaults        0 0
/dev/sysvol/rootvol     /                       ext3   
defaults        1 1
LABEL=/boot             /boot                   ext3   
defaults        1 2
none                    /dev/pts                devpts 
gid=5,mode=620  0 0
none                    /dev/shm                tmpfs  
defaults        0 0
/dev/sysvol/homevol     /home                   ext3   
defaults        1 2
none                    /proc                   proc   
defaults        0 0
none                    /sys                    sysfs  
defaults        0 0
/dev/sysvol/usrvol      /usr                    ext3   
defaults        1 2
/dev/sysvol/varvol      /var                    ext3   
defaults        1 2
/dev/sysvol/tmpvol      /tmp                    ext3   
defaults        1 2
/dev/sysvol/optvol      /opt                    ext3   
defaults        1 2
/dev/sdd1               /oradata                ext3   
_netdev         1 2
/dev/sde1               /oraindex               ext3   
defaults        1 2
/dev/hda                /media/cdrom            auto 
pamconsole,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto 
pamconsole,exec,noauto,managed 0 0

-- 
CL Martinez
carlopmart  gmail  com

--
nahant-list mailing list
nahant-listredhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list

Re: Mount iscsi disks at startup
country flaguser name
Cuba
2007-04-11 09:38:19
--- carlopmart <carlopmartgmail.com> wrote:

> berthiaume_wayneemc.com wrote:
> > Please send a snippet of the iscsi entri in
> /etc/fstab... 
> > 
> >> -----Original Message-----
> >> From: nahant-list-bouncesredhat.com
> >> [mailto:nahant-list-bouncesredhat.com] On Behalf
> Of carlopmart
> >> Sent: Tuesday, April 10, 2007 9:27 AM
> >> To: Red Hat Enterprise Linux 4 (Nahant)
> Discussion List
> >> Subject: Re: Mount iscsi disks at startup
> >>
> >> berthiaume_wayneemc.com wrote:
> >>> Yes, using the _netdev in /etc/fstab
should work
> in RHEL 4 U4. The
> >> init
> >>> scripts did have some problems but it is
more
> related to multipathing
> >>> and when devices are under udev() control.
This
> is because the
> > network
> >>> is up after DM-MPIO. I believe this is no
longer
> an issue.  
> >>>
> >>> -----Original Message-----
> >>> From: nahant-list-bouncesredhat.com
> >>> [mailto:nahant-list-bouncesredhat.com] On
> Behalf Of Brian Long
> >>> Sent: Tuesday, April 10, 2007 9:10 AM
> >>> To: Red Hat Enterprise Linux 4 (Nahant)
> Discussion List
> >>> Subject: Re: Mount iscsi disks at startup
> >>>
> >>> On Tue, 2007-04-10 at 13:15 +0200,
carlopmart
> wrote:
> >>>> Hi all,
> >>>>
> >>>>   Somebody knows how can I mount iscsi
disks at
> startup on rhel4? I
> >>> need a 
> >>>> solution GFS on cluster suite does,
using fstab
> ...
> >>> If I remember correctly, RHEL 4's
> /etc/rc.sysinit does not have the
> >>> proper steps needed to find iSCSI disks on
boot
> such that /etc/fstab
> >>> entries will mount properly.  I may be
thinking
> of RHEL 4 U2 and this
> >>> may be fixed in RHEL 4 U4, but I'm not
sure.  I
> know the /etc/fstab
> >>> entry needs to use an fstype of _netdev.
> >>>
> >>> /Brian/
> >>>
> >> Thanks, but i have put _netdev under fstab
and
> iscsi disk are not
> >> mounted when 
> >> host is rebooted .. I am using Rhel 4 U4 ...
> >>
> >> Use rc.local file is not a solution because i
> need to start a service
> >> (apache) 
> >> before rc.local is executed ...
> >>
> >>
> >>
> >>
> > Yes, I hav iscsi enabled on runlevels 2,3,4 and
5:
> > 
> > [rootoratemp ~]# chkconfig --list iscsi
> > iscsi           0:off   1:off   2:on    3:on   
> 4:on    5:on    6:off
> > [rootoratemp ~]#
> > 
> > 
> Here it is:
> 
> # This file is edited by fstab-sync - see 'man
> fstab-sync' for details

> /dev/sdd1               /oradata                ext3
>    _netdev         1 2

ok, from the netfs rc.init file, I can see that, at
the end when all checks are succefull, the script try
to mount the fs through this line:

mount -a -t nonfs,nfs4,smbfs,cifs,ncpfs,gfs

so, your ext3 fs will not mount .....

why not you try adding ext3 t list of "netfs
types"

cu
roger

__________________________________________
RedHat Certified Engineer ( RHCE )
Cisco Certified Network Associate ( CCNA )


       
____________________________________________________________
________________________
Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.

http://tools.search.yahoo.com/shortcuts/#loc_weather

--
nahant-list mailing list
nahant-listredhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list

RE: Mount iscsi disks at startup
user name
2007-04-11 15:30:12
There was an fsck bug in the earlier versions of the init
scripts but I
believe this was correct by RHEL 4 U4. You could try
changing the fsck
params in /etc/fstab to 0  0. 

-----Original Message-----
From: nahant-list-bouncesredhat.com
[mailto:nahant-list-bouncesredhat.com] On Behalf Of
carlopmart
Sent: Wednesday, April 11, 2007 10:23 AM
To: Red Hat Enterprise Linux 4 (Nahant) Discussion List
Subject: Re: Mount iscsi disks at startup

berthiaume_wayneemc.com wrote:
> Please send a snippet of the iscsi entri in
/etc/fstab... 
> 
> -----Original Message-----
> From: nahant-list-bouncesredhat.com
> [mailto:nahant-list-bouncesredhat.com] On Behalf Of
carlopmart
> Sent: Wednesday, April 11, 2007 2:56 AM
> To: Red Hat Enterprise Linux 4 (Nahant) Discussion
List
> Subject: Re: Mount iscsi disks at startup
> 
> berthiaume_wayneemc.com wrote:
>> Do you have the iscsi daemon set up? It should be
on for runlevels 2,
> 3,
>> 4, & 5.
>>
>> chkconfig --list iscsi 
>>
>> -----Original Message-----
>> From: nahant-list-bouncesredhat.com
>> [mailto:nahant-list-bouncesredhat.com] On Behalf Of
carlopmart
>> Sent: Tuesday, April 10, 2007 9:27 AM
>> To: Red Hat Enterprise Linux 4 (Nahant) Discussion
List
>> Subject: Re: Mount iscsi disks at startup
>>
>> berthiaume_wayneemc.com wrote:
>>> Yes, using the _netdev in /etc/fstab should
work in RHEL 4 U4. The
>> init
>>> scripts did have some problems but it is more
related to
multipathing
>>> and when devices are under udev() control. This
is because the
> network
>>> is up after DM-MPIO. I believe this is no
longer an issue.  
>>>
>>> -----Original Message-----
>>> From: nahant-list-bouncesredhat.com
>>> [mailto:nahant-list-bouncesredhat.com] On Behalf Of Brian Long
>>> Sent: Tuesday, April 10, 2007 9:10 AM
>>> To: Red Hat Enterprise Linux 4 (Nahant)
Discussion List
>>> Subject: Re: Mount iscsi disks at startup
>>>
>>> On Tue, 2007-04-10 at 13:15 +0200, carlopmart
wrote:
>>>> Hi all,
>>>>
>>>>   Somebody knows how can I mount iscsi
disks at startup on rhel4? I
>>> need a 
>>>> solution GFS on cluster suite does, using
fstab ...
>>> If I remember correctly, RHEL 4's
/etc/rc.sysinit does not have the
>>> proper steps needed to find iSCSI disks on boot
such that /etc/fstab
>>> entries will mount properly.  I may be thinking
of RHEL 4 U2 and
this
>>> may be fixed in RHEL 4 U4, but I'm not sure.  I
know the /etc/fstab
>>> entry needs to use an fstype of _netdev.
>>>
>>> /Brian/
>>>
>> Thanks, but i have put _netdev under fstab and
iscsi disk are not
>> mounted when 
>> host is rebooted .. I am using Rhel 4 U4 ...
>>
>> Use rc.local file is not a solution because i need
to start a service
>> (apache) 
>> before rc.local is executed ...
>>
>>
>>
>>
> Yes, I hav iscsi enabled on runlevels 2,3,4 and 5:
> 
> [rootoratemp ~]# chkconfig --list iscsi
> iscsi           0:off   1:off   2:on    3:on    4:on   
5:on    6:off
> [rootoratemp ~]#
> 
> 
Here it is:

# This file is edited by fstab-sync - see 'man fstab-sync'
for details
/dev/sdb1               swap                    swap   
defaults
0 0
/dev/sysvol/rootvol     /                       ext3   
defaults
1 1
LABEL=/boot             /boot                   ext3   
defaults
1 2
none                    /dev/pts                devpts 
gid=5,mode=620
0 0
none                    /dev/shm                tmpfs  
defaults
0 0
/dev/sysvol/homevol     /home                   ext3   
defaults
1 2
none                    /proc                   proc   
defaults
0 0
none                    /sys                    sysfs  
defaults
0 0
/dev/sysvol/usrvol      /usr                    ext3   
defaults
1 2
/dev/sysvol/varvol      /var                    ext3   
defaults
1 2
/dev/sysvol/tmpvol      /tmp                    ext3   
defaults
1 2
/dev/sysvol/optvol      /opt                    ext3   
defaults
1 2
/dev/sdd1               /oradata                ext3   
_netdev
1 2
/dev/sde1               /oraindex               ext3   
defaults
1 2
/dev/hda                /media/cdrom            auto 
pamconsole,exec,noauto,managed 0 0
/dev/fd0                /media/floppy           auto 
pamconsole,exec,noauto,managed 0 0

-- 
CL Martinez
carlopmart  gmail  com

--
nahant-list mailing list
nahant-listredhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list


--
nahant-list mailing list
nahant-listredhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )