02-23-2015
/sbin
also i was trying to do this in all the 262 servers that we have....so that i can get the list of all the disks and partitions and send these details in the output....i dont want to try and manually login to each server and type the command.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need an fdisk that will fdisk both parts of my drive. One with dos and the other with linux. Have have messed up my drive and can't fdisk dos or linux.
Can you help?
thank you (1 Reply)
Discussion started by: gparsons70
1 Replies
2. UNIX for Advanced & Expert Users
1.How will you do automation of Informatica jobs using Unix ?
2. How u run workflow from Unix? :) (2 Replies)
Discussion started by: kamesh83
2 Replies
3. Shell Programming and Scripting
Hi, i'm a newbie with unix and shell scripting. I'm just trying to do a script to simply automate a unix task. This are the steps on what i want to just run on a simple shell script
1. go to a specific path (cd /folder1/folder2/)
2. edit and input a number on a file (file_id) then save exit... (6 Replies)
Discussion started by: soultransit
6 Replies
4. Shell Programming and Scripting
Hello People,
I have an outstanding issue with me
I have 5 files at location /usr/abc called
1.DE 1.TXT
2.DE 2.TXT
3.DE 3.TXT
4.DE 4.TXT
5.Fe.ok
My work involves few manual process like
transfer
1.DE 1.TXT and
5.Fe.ok to
/usr/dob location and run one script(for example -... (42 Replies)
Discussion started by: j_panky
42 Replies
5. Shell Programming and Scripting
hi
i need shell script in ksh for the automation process in informtica.
The automation process is like this .
i have a folder in unix . when this folder gets updated (like if a file or files is/are added to the folder) an event in informatica is triggered and after the process is done in... (2 Replies)
Discussion started by: kumar8887
2 Replies
6. BSD
Hello,
MBR partition table made by linux fdisk looks certainly not correct when printed by openbsd fdisk:
Partition table created on linux (centos 6.3):
# fdisk -l /dev/sdc
Disk /dev/sdc: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 *... (2 Replies)
Discussion started by: vilius
2 Replies
7. Homework & Coursework Questions
Hi Sir,
I need unix code which will read data present in .xls file and should send an automated mails .when i place the .XLS file in a specific folder and run ***.sh from unix box
Attached Excel file contains
Subject , To , CC , Body (Paragraph 1) , Body (Paragraph 2) , Signature
When i... (2 Replies)
Discussion started by: chaitanyaS
2 Replies
8. Post Here to Contact Site Administrators and Moderators
I am using netteza server and i have a list of table names. I need to fetch all the data from these tables and need to create seperate zip files and store in a folder in the server. How can we automate this process. (1 Reply)
Discussion started by: nikhilthms97
1 Replies
9. UNIX for Beginners Questions & Answers
Hi folks,
has any one attempted using bots for performing tasks in unix?please share if you faced any challenges
thanks (1 Reply)
Discussion started by: tommy812
1 Replies
LEARN ABOUT REDHAT
lvmdiskscan
LVMDISKSCAN(8) System Manager's Manual LVMDISKSCAN(8)
NAME
lvmdiskscan - scan for all disks / multiple devices / partitions available
SYNOPSIS
lvmdiskscan [-d|--debug] [-h|--help] [-l|--lvmpartitions] [-v|--verbose]
DESCRIPTION
To give an overview about online peripherals usable to LVM, lvmdiskscan scans all SCSI, (E)IDE disks, multiple, loop and network block
devices in the system and lists them on standard output with name, size and type (text/hex). The size is the real device size, not the size
stored in the VGDA (See pvcreate(8) ) for details.
OPTIONS
-d/--debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-l, --lvmpartition
Gives an overview about all LVM system identified partitions only.
-v, --verbose
Gives verbose runtime information about lvmdiskscan's activities.
DIAGNOSTICS
lvmdiskscan returns an exit code of 0, if disks / multiple devices / partitions where found and > 0 for error:
1 no special files found
2 no disks / multiple devices / disk partitions found
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
See also
lvm(8), pvcreate(8), pvdisplay(8), pvscan(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS LVMDISKSCAN(8)