08-11-2011
bash-3.2# cat /proc/partitions
130 32 70709760 sdfg
130 48 70709760 sdfh
130 64 70709760 sdfi "these are all the luns that were added"
130 80 70709760 sdfj
130 96 70709760 sdfk
I have lots of disks so can't copy all of them...but i searched for those disks...
bash-3.2# fdisk -l | grep /dev/sdf
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdv doesn't contain a valid partition table
Disk /dev/sdcd doesn't contain a valid partition table
Disk /dev/sdcy doesn't contain a valid partition table
Disk /dev/sdfa: 72.4 GB, 72406794240 bytes
/dev/sdfa4 1 8802 70702033+ 5 Extended
/dev/sdfa5 1 5 32917+ 7f Unknown
/dev/sdfa6 5 8802 70668958+ 7e Unknown
Disk /dev/sdfb: 72.4 GB, 72406794240 bytes
/dev/sdfb4 1 8802 70702033+ 5 Extended
/dev/sdfb5 1 5 32917+ 7f Unknown
/dev/sdfb6 5 8802 70668958+ 7e Unknown
Disk /dev/sdfc: 72.4 GB, 72406794240 bytes
/dev/sdfc4 1 8802 70702033+ 5 Extended
/dev/sdfc5 1 5 32917+ 7f Unknown
/dev/sdfc6 5 8802 70668958+ 7e Unknown
Disk /dev/sdfd: 72.4 GB, 72406794240 bytes
/dev/sdfd4 1 8802 70702033+ 5 Extended
/dev/sdfd5 1 5 32917+ 7f Unknown
/dev/sdfd6 5 8802 70668958+ 7e Unknown
Disk /dev/sdfe: 72.4 GB, 72406794240 bytes
/dev/sdfe4 1 8802 70702033+ 5 Extended
/dev/sdfe5 1 5 32917+ 7f Unknown
/dev/sdfe6 5 8802 70668958+ 7e Unknown
Disk /dev/sdff: 72.4 GB, 72406794240 bytes
/dev/sdff4 1 8802 70702033+ 5 Extended
/dev/sdff5 1 5 32917+ 7f Unknown
/dev/sdff6 5 8802 70668958+ 7e Unknown
here's vxdisk list....
sdfg auto - - error
sdfh auto - - error
sdfi auto - - error
sdfj auto - - error
sdfk auto - - error
Last edited by gisu0602; 08-11-2011 at 04:15 PM..
Reason: add detail
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: ravi.videla
6 Replies
2. UNIX for Dummies Questions & Answers
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)
Discussion started by: trento17
1 Replies
3. Red Hat
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)
Discussion started by: bobby320
2 Replies
4. Solaris
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
5. Red Hat
Hi,
I created a new vdisk and presented it to a BL460c class server. The LUN was successfully created and presented.
My problem however is that I am unable to see the newly added LUN on my OS? I have rebooted the box but no joy.
Just wondering if you have any ideas on how this can be... (5 Replies)
Discussion started by: Duffs22
5 Replies
6. Hardware
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
7. UNIX for Advanced & Expert Users
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)
Discussion started by: twk
0 Replies
8. Red Hat
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)
Discussion started by: Sricharan21
1 Replies
9. Linux
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
10. Linux
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)
Discussion started by: fretagi
3 Replies
LEARN ABOUT CENTOS
sg_emc_trespass
SG_EMC_TRESPASS(8) SG3_UTILS SG_EMC_TRESPASS(8)
NAME
sg_emc_trespass - change ownership of SCSI LUN from another Service-Processor to this one
SYNOPSIS
sg_emc_trespass [-d] [-hr] [-s] [-V] DEVICE
DESCRIPTION
sg_emc_trespass sends an EMC-specific Trespass Command to the DEVICE with the selected options. This Mode Select changes the ownership of
the LUN of the device from another Service-Processor to the one the command was received on.
OPTIONS
Arguments to long options are mandatory for short options as well.
-d outputs some extra debug information associated with executing this command
-hr Sets the 'Honor Reservation' bit in the command. If set, the trespass will only succeed to change the ownership from the Peer SP if
the Peer SP does not have an outstanding SCSI reservation for the LUN. By default, the reservation state will be ignored.
-s Send the short version of the trespass command instead of the long version. The short version is supported on the EMC FC5300, FC4500
and FC4700. The long version (default) is supported on the CLARiiON CX and AX family arrays.
-V print out version string then exit.
In the 2.4 series of Linux kernels the DEVICE must be a SCSI generic (sg) device. In the 2.6 series block devices (e.g. SCSI disks and DVD
drives) can also be specified. For example "sg_start 0 /dev/sda" will work in the 2.6 series kernels.
EXIT STATUS
The exit status of sg_emc_trespass is 0 when it is successful. Otherwise see the sg3_utils(8) man page.
AUTHOR
Written by Lars Marowsky-Bree, based on sg_start.
REPORTING BUGS
Report bugs to <dgilbert at interlog dot com>.
COPYRIGHT
Copyright (C) 2004-2012 Lars Marowsky-Bree, Douglas Gilbert.
This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR-
POSE.
sg3_utils-1.35 December 2012 SG_EMC_TRESPASS(8)