Scan for new LUN and create a new file system

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Scan for new LUN and create a new file system
# 8  
Old 11-27-2014
I'd be a little surprised if it doesn't handle multipath devices and associate them to form just the devices you need. What would happen if someone later decided to overwrite /dev/sdf because it looks to be free?

At first glance, the proposed commands looks fine to me although personally I would use a more human name for the volume group & logical volume, such as vg_oracle and lv_oradata.

Your mkdir doesn't force it to create the directory in the root directory though, so you might need to check that. You need to be consistent with your device names too. Are you using /dev/sdc or /dev/sdd? What's wrong with /dev/sdb anyway? That looks to be over 500Gb of unused disk.


Robin
# 9  
Old 11-27-2014
As I said initially I do not have skills on redhat, so because I did not set-up this server, I am not to keen on touching something that I did not do /dev/sdb!, so I will follow your advice and create the volume group.


Thanks for your help

Last edited by rbatte1; 11-27-2014 at 10:29 AM.. Reason: Changed CODE tags, one to ICODE and one to B. Corrected spelling.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to scan the disks and make file system

Hi What I'm trying to do(manually) is logging into the server and running the below mentioned commands ls /sys/class/scsi_device/ | while read i; do echo "- - -" > /sys/class/scsi_device/$i/device/rescan;done lsblk echo -e "o\nn\np\n1\n\n\nw" | fdisk /dev/sdd partx -a /dev/sdd1... (7 Replies)
Discussion started by: James0806
7 Replies

2. Shell Programming and Scripting

Create automated scan of specific directory using bash

I am trying to use bash to automate the scan of a specific directory using clamav. Having this in place is a network requirement. The below is an attempt to: 1. count the extensions (.txt, .jpeg) in a directory and write them to a virus-scan.log (section in bold) 2. scan each folder in the... (6 Replies)
Discussion started by: cmccabe
6 Replies

3. Shell Programming and Scripting

Scan directories and create a list of files

Gents, Please can you help. I want to create a list which contends the complete patch of the location of some directories with the size of each file. need to select only .txt file In this case I am try to find the subdirectories tp1 and tp2 and create the output list. jd175-1 tp1... (3 Replies)
Discussion started by: jiam912
3 Replies

4. Ubuntu

Scan and create file systems in new LUNs

Hi I have a system running uname -a Linux cmoveldb02 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux and I was told by the NetApp Admin that he has provided 5 LUNs of 1Tb, 200Gb and remaining 3 of 300Gb, but I am not able to see the new LUNs. I have... (4 Replies)
Discussion started by: fretagi
4 Replies

5. HP-UX

FC Lun scan without unmount

OS : 11.31 Storage : HP P2000 WE extended one lun to 100GB which was previously 50GB from storage side... How to get detect the size without unmounting.... ---------- Post updated at 04:39 AM ---------- Previous update was at 12:37 AM ---------- No LVM and No online JFS installed... (2 Replies)
Discussion started by: selvaforum
2 Replies

6. UNIX for Advanced & Expert Users

Scan all mail messages through the server and save a copy into file system following a rule

In our company we work for our customer with a job# philosophy, managing all the informations about a job in a share with directories whose name is starting with job number. Under this entry point we have a standard structure of folders, comprising a "communications" folder. When we send emails... (0 Replies)
Discussion started by: vroby67
0 Replies

7. UNIX for Dummies Questions & Answers

For create file system.

How many ways and how we can create unix file system in sun solaris? (1 Reply)
Discussion started by: anupdas
1 Replies

8. UNIX for Dummies Questions & Answers

How to create a new file system

Is there any URL or procedure to create a new file system on solaris 8/9/10.. (3 Replies)
Discussion started by: tintedwindow
3 Replies

9. Solaris

command to scan Enterprise storage Lun disk in Solaris

I just installed IBMsdd on Solaris diver along with the patches recommended. I also installed 2 - 2Gigs qlogic fiber cards & the corresponding pkges for the cards. What command can I use to scan this LUN disks from my Soalris servers. Solaris doen't seem to be seeing this disks presented on it.... (2 Replies)
Discussion started by: Remi
2 Replies

10. SCO

create a new file system

I have just installed 5.0.7 of openserver and forgot to create a /u filesystem. I have a root filesystem that takes up most of the hard disc space and I want to reduce the size of that and create a /u. I have tried divvy amd mkdev fs but to no avail. Could somebody give me some idea as to how I... (2 Replies)
Discussion started by: rongrout
2 Replies
Login or Register to Ask a Question