VMWare,XFS and iSCSI issues!


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users VMWare,XFS and iSCSI issues!
# 1  
Old 12-04-2012
VMWare,XFS and iSCSI issues!

I have a RHEL6 VM that requires the use of remote storage using iSCSI and XFS for the mount point. Here's the issue:

With XFS you can't use the _netdev option for your mount point (pause for network) so my mount point doesn't mount properly because the network isn't up yet. I've moved the init order in rc3.d so the network is up prior to iscsid running however I have application that trys to start before the mount is available and of course the app fails to start etc.

Any suggestions on the delay etc. would be helpful!
# 2  
Old 01-16-2013
Wouldn't it fail even with _netdev? Can't you just move the start of the application so it happens after the scripted init mount of the xfs area after the network setup.
# 3  
Old 01-18-2013
I'm not sure that I fully understand your issue here. Perhaps I'm being too simplistic.

You say that you've changed the order of the rc3.d boot order. These are just scripted commands which are executed in ascending numerical order so you can just create another script (eg, S78sleep) containing the command

Code:
 
sleep 60

to halt the boot process for one minute (or whatever value of seconds you choose). This will give processes already launched time to start before any following scripts.

Obviously you would only use the above if you don't care how long it takes to boot up. Otherwise, if booting time is of the essence, you could write a loop to test for a file/process and sleep for a shorter time if not ready to proceed.

Does that help? Or am I missing something?
# 4  
Old 01-22-2013
I did exactly that but just dropped the sleep in rc.local and it works fine.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

VMware View Client Connection Issues

I installed the VMware View Client for Linux in Ubuntu and whenever I try and connect I recieve: Untrusted View Connection: Failed to connect to the View Connection Server. The server provided an invalid certificate. The certificate authority is invalid or incorrect. Having access to... (2 Replies)
Discussion started by: metallica1973
2 Replies

2. Red Hat

XFS - Custom Kernel or Module?

Hey everyone. I am going to be using XFS for a project coming up. We're running RHEL 5.5. Simply typing modprobe xfs works just fine. The kernel module loads without any issue. Is there any issue with doing this and inserting "modprobe xfs" into /etc/rc.modules? Is there a major reason to... (0 Replies)
Discussion started by: msarro
0 Replies

3. SuSE

iscsi network share + xfs

Hello, we got a MD3000i used as a network share between two servers (say A and B). The problem we are facing is that file/directories created by server A are not visible on server B (and viceversa). It's not a problem with permission (chmod 777 doesn't help). The MD3000i was at first used ony... (0 Replies)
Discussion started by: neutrino
0 Replies

4. Red Hat

RHEL4 easyRAID problem 2tb gpt xfs

hello community, i have problems with my redhat enterprise linux 4 nanhant 6 and my easyraid x8s (8x1tb) extern fibre channel raid extern raid configuration: raid level 5 (8x1tb) redhat system shows me four 2tb partitions and one 450gb partition from my raid :( why????? i have... (1 Reply)
Discussion started by: onkeldave
1 Replies

5. UNIX for Dummies Questions & Answers

How to change ethernet cable of iscsi initiator (iscsi client)?

how to change ethernet cable of iscsi initiator (iscsi client) (0 Replies)
Discussion started by: pankajd
0 Replies

6. UNIX for Advanced & Expert Users

[XFS] How to use real-time subvolume

Hi! I created filesystem XFS on partition hda8 with subvolume real-time on partition hda5: mkfs.xfs -r rtdev=/dev/hda5 /dev/hda8 and i mounted it: mount -t xfs -o rtdev=/dev/hda5 /dev/hda8 /xfs But I don't know how can I use this partition hda5 with subvolume real-time. I don't know how to... (3 Replies)
Discussion started by: Cadi2108
3 Replies

7. Filesystems, Disks and Memory

Gfs2 vs xfs vs ext4

Looking for suggestions as to which filesystem to go with. I currently use gfs2 on hosts with 3.4tb useable. I understand gfs2 is being left behind but xfs and ext4 are not quite certified completely on CentOS 5.2. I have email storage hosts that have a decent i/o requirement and 12TB usable after... (12 Replies)
Discussion started by: king_hippo
12 Replies

8. Solaris

Does Solaris support XFS filesytem?

Hi, Does solaris support the XFS file sytems? If so, how can I mount a shared directory from another machine (which is using XFS)? thanks (3 Replies)
Discussion started by: orahi001
3 Replies
Login or Register to Ask a Question