Solved

Mounting SAN via CentOS

Posted on 2009-03-29
3
1,940 Views
Last Modified: 2013-12-06
Hello,
I am missing something, not thinking or googling well enough but I need to mount my Dell MD3000i SAN on CentOS and I can't seem to figure out what to do. The instructions I find talk about running VM's from it or installing linux on it but not how to just mount it as a file system.

I am running Vembu StoreGrid for backups and rather than back up my windows hosts that have this SAN mounted and put the CPU load on them I thought it would be smart to mount those same LUN's on my linux host which is the backup server and back it up directly.

Please help point me in the right direction with the commands on how to do this. Also would there be any conflict with wanting to back up NTFS partitions directly in linux? Will there be any locking or permissions issues? Thanks for your help and time.
Linux sys-util-1 2.6.18-92.1.22.el5PAE #1 SMP Tue Dec 16 12:36:25 EST 2008 i686 i686 i386 GNU/Linux

Open in new window

0
Comment
Question by:2drews
3 Comments
 
LVL 3

Accepted Solution

by:
jeiler earned 125 total points
ID: 24020151
You'll need the iscsi-initiatior-utils package which has the open-iscsi stuff (yum install iscsi-initiator-utlis)

Once that is installed
1) start iscsid

2) get a list of targets
> iscsiadm -m discovery -t sendtargets -p 192.168.xxx.xxx  (obviously the ip needs to be yours)

3) make sure your initiator is added to the target lun in the MD3000i

4) try to login to the target
> iscsiadm -m node -p 192.168.xxx.xxx -T iqn.1984-05.com.dell:blah_blah_blah --login
The iqn...blah stuff is what you'll see from the discovery above

That should be it but multi-pathing can make things a little goofy.

For the other question, mounting NTFS under linux while it is being used by windows isn't a great idea.  You'll want to backup from a snapshot not from the live volume.  i believe snapshots are an optional addon for the MD3000i.

0
 
LVL 4

Assisted Solution

by:Multipath
Multipath earned 125 total points
ID: 24036211
Not only the above but you may need multipath-tools as well.  however this is a non working idea as you can not mount and use the ntfs filesystem while another system is using it.  You risk non complete backups that possible could not be restored and you also risk the integrity of the data on the drives no to mention I am pretty sure the locks on the filesystem will keep this from working.
0
 

Author Closing Comment

by:2drews
ID: 31564135
The information is pointing me in the right direction towards snapshots. Thanks.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Squid Connection Pools 3 70
Configurire Storage Pool via Powershell 8 50
is my large folder zipped corrupted 4 67
Creating biggest partition Using 4TB 17 40
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question