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
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)
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 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 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)
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)
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)
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)
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 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)
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 LINUX
partx
PARTX(8) System Manager's Manual PARTX(8)NAME
partx - tell the Linux kernel about the presence and numbering of on-disk partitions
SYNOPSIS
partx [-a|-d|-s] [-t TYPE] [-n M:N] [-] disk
partx [-a|-d|-s] [-t TYPE] partition [disk]
DESCRIPTION
Given a device or disk-image, partx tries to parse the partition table and list its contents. It optionally adds or removes partitions.
The disk argument is optional when a partition argument is provided. To force scanning a partition as if it were a whole disk (for example
to list nested subpartitions), use the argument "-". For example:
partx --show - /dev/sda3
This will see sda3 as a whole-disk rather than a partition.
This is not an fdisk program -- adding and removing partitions does not change the disk, it just tells the kernel about the presence and
numbering of on-disk partitions.
OPTIONS -a, --add
Add the specified partitions, or read the disk and add all partitions.
-b, --bytes
Print the SIZE column in bytes rather than in human-readable format.
-d, --delete
Delete the specified partitions or all partitions.
-g, --noheadings
Do not print a header line.
-l, --list
List the partitions. Note that all numbers are in 512-byte sectors. This output format is DEPRECATED in favour of --show. Don't
use it in newly written scripts.
-o, --output list
Define the output columns to use for --show and --raw output. If no output arrangement is specified, then a default set is used.
Use --help to get list of all supported columns.
-r, --raw
Use the raw output format.
-s, --show
List the partitions. All numbers (except SIZE) are in 512-byte sectors. The output columns can be rearranged with the --output
option.
-t, --type type
Specify the partition table type -- aix, bsd, dos, gpt, mac, minix, sgi, solaris_x86, sun, ultrix or unixware.
-n, --nr M:N
Specify the range of partitions. For backward compatibility also the format <M-N> is supported. The range may contain negative
numbers, for example "--nr :-1" means the last partition, and "--nr -2:-1" means the last two partitions. Supported range specifi-
cations are:
<M> Specifies just one partition (e.g. --nr 3).
<M:> Specifies lower limit only (e.g. --nr 2:).
<:N> Specifies upper limit only (e.g. --nr :4).
<M:N> or <M-N> Specifies lower and upper limits (e.g. --nr 2:4).
EXAMPLES
partx --show /dev/sdb3
partx --show --nr 3 /dev/sdb
partx --show /dev/sdb3 /dev/sdb
All three commands list partition 3 of /dev/sdb.
partx --show - /dev/sdb3
Lists all subpartitions on /dev/sdb3 (the device is used as whole-disk).
partx -o START -g --nr 3 /dev/sdb
Prints the start sector of partition 5 on /dev/sda without header.
partx -o SECTORS,SIZE /dev/sda5 /dev/sda
Lists the length in sectors and human-readable size of partition 5 on /dev/sda.
partx --add --nr 3:5 /dev/sdd
Adds all available partitions from 3 to 5 (inclusive) on /dev/sdd.
partx -d --nr :-1 /dev/sdd
Removes the last partition on /dev/sdd.
SEE ALSO addpart(8), delpart(8), fdisk(8), parted(8), partprobe(8)AUTHORS
Davidlohr Bueso <dave@gnu.org>
Karel Zak <kzak@redhat.com>
The original version was written by Andries E. Brouwer <aeb@cwi.nl>.
AVAILABILITY
The partx command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
1 Feb 2011 PARTX(8)