Identify newly attached LUN from NetApp


 
Thread Tools Search this Thread
Operating Systems Linux Identify newly attached LUN from NetApp
# 1  
Old 08-17-2017
Identify newly attached LUN from NetApp

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:
Code:
df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_outsystemdb-lv_root
                       50G  2.7G   45G   6% /
tmpfs                  28G  216K   28G   1% /dev/shm
/dev/sda1             485M   38M  422M   9% /boot
/dev/mapper/vg_outsystemdb-lv_home
                      198G  178G  9.8G  95% /home
/dev/mapper/vg01-lvol1
                      394G  360G   14G  97% /oradata
/dev/mapper/data-client_1
                      493G  459G  8.6G  99% /arquivos

them I have run a command seen on a post:

Code:
fdisk -l | egrep '^Disk' | egrep -v 'dm-' | grep -v identifier
Disk /dev/sdb: 598.9 GB, 598879502336 bytes
Disk /dev/sda: 299.4 GB, 299439751168 bytes
Disk /dev/sdc: 429.5 GB, 429523992576 bytes
Disk /dev/sdi: 429.5 GB, 429523992576 bytes
Disk /dev/sdh: 590.6 GB, 590572683264 bytes
Disk /dev/sdf: 590.6 GB, 590572683264 bytes
Disk /dev/sdd: 590.6 GB, 590572683264 bytes
Disk /dev/sdj: 590.6 GB, 590572683264 bytes
Disk /dev/sdg: 429.5 GB, 429523992576 bytes
Disk /dev/sde: 429.5 GB, 429523992576 bytes
Disk /dev/mapper/vg_outsystemdb-lv_root: 53.7 GB, 53687091200 bytes
Disk /dev/mapper/vg_outsystemdb-lv_swap: 29.6 GB, 29611786240 bytes
Disk /dev/mapper/data-client_1: 536.9 GB, 536870912000 bytes
Disk /dev/mapper/vg01-lvol1: 429.5 GB, 429496729600 bytes
Disk /dev/mapper/vg_outsystemdb-lv_home: 215.6 GB, 215612391424 bytes

But the NetApp admin has informed that a LUN of 600Gb

So I am not sure what LUN to format it

---------- Post updated at 03:29 PM ---------- Previous update was at 12:25 PM ----------

Assuming that:
Code:
 file -s $(fdisk -l | grep ^/dev/ | cut -d ' ' -f 1)
/dev/sda1: Linux rev 1.0 ext4 filesystem data (needs journal recovery) (extents) (huge files)
/dev/sda2: LVM2 (Linux Logical Volume Manager) , UUID: CDntvDCZ4ew2T6wwcfkZgWKQZ4kVVEh
/dev/sdb1: Linux rev 1.0 ext4 filesystem data (extents) (large files) (huge files)
/dev/sdd1: LVM2 (Linux Logical Volume Manager) , UUID: 9eEhp8KmaB8EqLmiIZ6f94JHMcxwC2p
/dev/sdj1: LVM2 (Linux Logical Volume Manager) , UUID: 9eEhp8KmaB8EqLmiIZ6f94JHMcxwC2p
/dev/sdm1: LVM2 (Linux Logical Volume Manager) , UUID: 9eEhp8KmaB8EqLmiIZ6f94JHMcxwC2p
/dev/sdg1: LVM2 (Linux Logical Volume Manager) , UUID: 9eEhp8KmaB8EqLmiIZ6f94JHMcxwC2p

This are the partitions being used, I can use:
Code:
 fdisk -l | egrep '^Disk' | egrep -v 'dm-' | grep -v identifier
Disk /dev/sda: 299.4 GB, 299439751168 bytes
Disk /dev/sdb: 598.9 GB, 598879502336 bytes
Disk /dev/sdf: 429.5 GB, 429523992576 bytes
Disk /dev/sdh: 644.3 GB, 644326883328 bytes
Disk /dev/sdd: 590.6 GB, 590572683264 bytes
Disk /dev/sdn: 644.3 GB, 644326883328 bytes
Disk /dev/sdj: 590.6 GB, 590572683264 bytes
Disk /dev/sdl: 429.5 GB, 429523992576 bytes
Disk /dev/sdk: 644.3 GB, 644326883328 bytes
Disk /dev/sdi: 429.5 GB, 429523992576 bytes
Disk /dev/sdc: 429.5 GB, 429523992576 bytes
Disk /dev/sde: 644.3 GB, 644326883328 bytes
Disk /dev/sdm: 590.6 GB, 590572683264 bytes
Disk /dev/sdg: 590.6 GB, 590572683264 bytes
Disk /dev/mapper/vg_outsystemdb-lv_root: 53.7 GB, 53687091200 bytes
Disk /dev/mapper/vg_outsystemdb-lv_swap: 29.6 GB, 29611786240 bytes
Disk /dev/mapper/data-client_1: 536.9 GB, 536870912000 bytes
Disk /dev/mapper/vg01-lvol1: 429.5 GB, 429496729600 bytes
Disk /dev/mapper/vg_outsystemdb-lv_home: 215.6 GB, 215612391424 bytes

to identify disk /dev/sdn as the newly inserted disk/LUN. Please can you confirm?
# 2  
Old 08-17-2017
uname -o is quite vague.
uname -sr is better, and cat /etc/*release is probably the best description of your OS.
Your new device is probably ISCSI, and I think it is not automatically detected. You might need to reboot or use a procedure to detect it and map it to a disk device.
# 3  
Old 08-18-2017
Hi

I have aleady rebooted the system, and from your suggestion
Code:
 uname -sr
Linux 2.6.32-358.el6.x86_64

and
Code:
cat /etc/*release
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Red Hat Enterprise Linux Server release 6.4 (Santiago)

the link you provided is subject to an account, which I dont have at the moment
# 4  
Old 08-22-2017
Hi

Please can I have help on this?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Mount a newly added LUN on a GNU/Linux distro

Hi 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: uname -a Linux localhost.localdomain 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux and now... (6 Replies)
Discussion started by: fretagi
6 Replies

2. Hardware

Formatting a newly created lun

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)
Discussion started by: mishra.sankar
7 Replies

3. AIX

Netapp iscsi lun

Hi, I have aix 6.1 box. I want to configure iscsi luns from netapp storage. I tried in google but not getting proper solution for that. i m not getting the proper iqn name. Please share me the steps to complete this requirements. Thanks in advance. (1 Reply)
Discussion started by: sunnybee
1 Replies

4. Solaris

Swap space related issues, how to recognise the newly attached disk

hi!:) i got a problem....:wall::wall: i got several disks in my diskarray. I attached new disk to allocate it to the swap space. The problem is : how to recognise the newly attached disk? I've one more requirement -:wall:- i want to run dns service on another port number.how can i do... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

5. Solaris

Solaris- How to scan newly attached NIC's

Hi folks, How can I scan newly attached network interfaces to server without reboot? Is there any command or something to scan without reboot. Thanks (5 Replies)
Discussion started by: snchaudhari2
5 Replies

6. Solaris

Can't see Newly created LUN by SAN admin

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)
Discussion started by: janakors
12 Replies

7. Solaris

new attached lun in solaris 10

hi, what are the steps to detect and configure a new attached lun in Solaris 10. Is there any difference between cfgadm and luxadm command ? rgds, snjksh (5 Replies)
Discussion started by: snjksh
5 Replies

8. Red Hat

Redhat 5 can't see my newly added LUN.

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)
Discussion started by: gisu0602
2 Replies

9. Solaris

Can't see Netapp LUN on Solaris using LPFC after reboot.

Hi, I've just edited this post. I found the solution for this. Thanks. (0 Replies)
Discussion started by: gwhelan
0 Replies

10. Solaris

Netapp filer LUN Resize. Commands to run on Solaris afterwards.

Hi, I need to increase a veritas filesystem I have currently mounted on a Solaris 10 server. We can resize the LUN on the NetApp filer no problem. What I need to know is what do I do next on the Solaris 10 server I have so that it will see the increase in size. Do I run 'devfsadm' to... (3 Replies)
Discussion started by: gwhelan
3 Replies
Login or Register to Ask a Question