I am not familiar with the linux, but I was asked to create a file system on a LUN from the NetApp that was mapped to the linux server.
The server is runing:
and now have the following file systems:
The NetApp admin has told me that he has mapped an iscsi LUN of 700Gb.
The first step would be to check if the server see this LUN, but not sure what commands to check, I have try the following: /sbin/iscsi-ls -l the output was : -bash: /sbin/iscsi-ls: No such file or directory
even try this one
, so please can you help?
I did also try fdisk -l which gave me the following output:
But I still cannot see the newly added LUN, please can you help
This assumes that your Linux is a Debian derivative?
You need to ensure that you have an iscsi initiator as part of the distribution or you need to install one. Then you can run some form of 'discovery' command against the SAN ip address and see what storage it offers you. Then you can start to format it and access it.
if I run the discovery command:
so it does seem to me that there is comms between the server and the NetApp
And if I run fdisk -l it shows a LUN of 898Gb, but I dont know if this LUN is the newly added one or an existing one:
Is it possible the commands to check if this is the new one?
---------- Post updated at 03:27 PM ---------- Previous update was at 03:24 PM ----------
/dev/sdb
Last edited by fretagi; 06-01-2017 at 10:26 AM..
Reason: add more info
I posted a link with the basic steps to take which results in the mount of a new volume which was your original question.
Basically, you need to run 'discovery' against the SAN ip address to see what is offered to you. Ensure that you identify the new resource and not one that you are already using. Login to the LUN, format the LUN with the filesystem of your choice, and then mount the LUN.
Hi
I need to identify a newly attached LUN from NetApp on a linuxserver running uname -o
GNU/Linux
I have first run the df -h and got the following:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_outsystemdb-lv_root
50G 2.7G 45G ... (3 Replies)
Hi Folks,
I am unable to detected newly added HDD in my redhat-5 OS.
I am expecting to get /dev/sdb.
Following are the utilized commands or syntax.
root@hostname% cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.4 (Tikanga) echo "- - -" > /sys/class/scsi_host/host0/scan %... (1 Reply)
My project is on solaris 10 using cvs 1.12.13. A team member has added a new file to the repo using the add command followed by commit. When another team member executes the status command in the directory containing the new file they do not get notifiction that there is a file that needs to be... (0 Replies)
Hi ,
I have created one new lun in my SAN storage and make it visible to my HP servers , but the fdisk -l output is somehow confusing. Do not know what to do next ----------
fdisk -l /dev/sdo1
Disk /dev/sdo1 (Sun disk label): 64 heads, 32 sectors, 10238 cylinders
Units =... (7 Replies)
Calling all Linux GURU's.
The purpose of this thread is to try an recreate what we already have stood up in my environment, however the steps i am having to produce my own.
I have got multiple applications that dump the data to various LUNs, the LUNs are managed by an Enterprise SAN... (11 Replies)
hello,
i am an oracle DBA and trying to scan a newly created LUN of 200 GB on fiber channel by SAN admin.we have solaris 10 and SANtoolkit is installed.i tried following to get the new LUN at my machine. go /opt/Netapp/Santoolkit/bin and then ./sanlun lun show but i see only the existing... (12 Replies)
Hi Everyone,
I have added new Virtual disk to OS. The main point is I need to bring this whole Disk into LVM control, is it necessary to partition the disk using fdisk command and assign partition type as '8e', or can I directly add that disk into LVM, by running pvcreate command with out... (2 Replies)
Hi,
I just forgot what command we can use to open a file, and then see its updates, I remember that there is an option -f ,but with what command :wall:
Tx
Trent (1 Reply)
hi all,
i have added new LUN to Redhat 5. i have already scanned LUN devices and it is confirmed that Kernel sees the newly added LUN's. i have used /proc/partitions and verified that my disks are there.
However, i cannot find my disk using fdisk -l command. I am not sure what did i... (2 Replies)
Hi,
I have a csv file. I need to add one column at begining of the file, It just contains one value "amr". I am able to add column but unable to put title to it.
Input Data:
call_id,conn_id,result,ani
1,100,hungup,7601234
2,101,hungup,7601235
Desired Output:
... (6 Replies)