Solved

Mounting SAN via CentOS

Posted on 2009-03-29
3
1,923 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
Comment Utility
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
Comment Utility
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
Comment Utility
The information is pointing me in the right direction towards snapshots. Thanks.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now