Sponsored Content
Operating Systems Linux Red Hat Scan for new LUN and create a new file system Post 302926801 by rbatte1 on Thursday 27th of November 2014 07:21:29 AM
Old 11-27-2014
Thanks for all this output - it's good stuff.

The volume group vg_outsystemdb is made from just a single disk partition at the moment, /dev/sda2 which is fine. The query you have about /dev/sdb1 is valid, but a boot disk would have an asterix in the Boot column, like /dev/sda1 in this display:-
Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           2         501      512000   83  Linux
/dev/sda2             502       16384    16264192   8e  Linux LVM

If the output from df doesn't show any filesystems mounted from device /dev/sdb and you don't have a database that directly uses disk, then I'm pretty confident that you new LUN has been detected as /dev/sdb

Can we be sure of that before proceeding?



Robin
This User Gave Thanks to rbatte1 For This Post:
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
vxdestroy_lvmroot(1M)													     vxdestroy_lvmroot(1M)

NAME
vxdestroy_lvmroot - remove LVM root disk and associated LVM volume group SYNOPSIS
vxdestroy_lvmroot [-v] [-b] lvm_root_disk DESCRIPTION
The vxdestroy_lvmroot command tears down and removes the LVM volume group associated with the specified physical disk. This is done by removing the volumes in the volume group and then removing the volume group. OPTIONS
-b Invokes the setboot command to change the primary boot disk to the VxVM root disk from which the system was booted (if the pri- mary boot disk is not already set to this disk). The alternate boot device remains unchanged. If the -v option is also speci- fied, the settings of the primary and alternate boot devices are displayed. -v Outputs verbose messages including a timestamp that indicates major operations being performed. ARGUMENTS
lvm_root_disk Specifies the device name of the LVM root disk that is to be destroyed, along with its entire volume group. EXAMPLES
This example shows the vxdestroy_lvmroot command invoked in its simpliest form: /etc/vx/bin/vxdestroy_lvmroot c5t1d0 # /etc/vx/bin/vxdestroy_lvmroot -v -b c3t0d0 Are you sure about destroying c3t0d0 (imported on VG /dev/vg02) ? YES vxdestroy_lvmroot 06:02: Tearing down /dev/vg02 on device c3t0d0 vxdestroy_lvmroot 06:02: Unmounting and removing any volumes associated with /dev/vg02 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol1 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol2 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol3 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol4 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol5 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol6 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol7 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol8 vxdestroy_lvmroot 06:02: Removing Volume Group /dev/vg02 vxdestroy_lvmroot 06:02: Removing device files in /dev/vg02 vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c3t0d0 vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c1t1d3 vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c1t1d4 vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c1t1d5 vxdestroy_lvmroot 06:03: Current setboot values: vxdestroy_lvmroot 06:03: Primary: 0/0/6/0/0.0.0 vxdestroy_lvmroot 06:03: Alternate: 0/0/1/0/0.1.0 vxdestroy_lvmroot 06:03: Making disk c0t1d0 (0/0/1/0/0.1.0) the primary boot disk vxdestroy_lvmroot 06:03: Removal of device c3t0d0, volume group /dev/vg02 was successful SEE ALSO
cpio(1), dd(1), fsck(1M), setboot(1M) vxbootsetup(1M) vxcp_lvmroot(1M) vxres_lvmroot(1M) VxVM 5.0.31.1 24 Mar 2008 vxdestroy_lvmroot(1M)
All times are GMT -4. The time now is 05:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy