Sponsored Content
Operating Systems Linux Ubuntu Scan and create file systems in new LUNs Post 302956440 by fretagi on Wednesday 30th of September 2015 03:03:46 AM
Old 09-30-2015
please see the outputs of the commands:

Code:
root@cmoveldb02:~# dmsetup info
Name:              cmovel--db02-swap_1
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        2
Event number:      0
Major, minor:      252, 1
Number of targets: 1
UUID: LVM-yrAv2YJL6WHciOiYQFvZgru1Jtl6vM2pmKypDknOQh3HwDfaZddnG6uJgB7ULMmh

Name:              cmovel--db02-root
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        1
Event number:      0
Major, minor:      252, 0
Number of targets: 1
UUID: LVM-yrAv2YJL6WHciOiYQFvZgru1Jtl6vM2p2MaakDmReoiXqrjs4EjaasdyB0TuwAjd

root@cmoveldb02:~#

and

Code:
root@cmoveldb02:~# multipath -v3
Sep 30 09:02:53 | ram0: device node name blacklisted
Sep 30 09:02:53 | ram1: device node name blacklisted
Sep 30 09:02:53 | ram2: device node name blacklisted
Sep 30 09:02:53 | ram3: device node name blacklisted
Sep 30 09:02:53 | ram4: device node name blacklisted
Sep 30 09:02:53 | ram5: device node name blacklisted
Sep 30 09:02:53 | ram6: device node name blacklisted
Sep 30 09:02:53 | ram7: device node name blacklisted
Sep 30 09:02:53 | ram8: device node name blacklisted
Sep 30 09:02:53 | ram9: device node name blacklisted
Sep 30 09:02:53 | ram10: device node name blacklisted
Sep 30 09:02:53 | ram11: device node name blacklisted
Sep 30 09:02:53 | ram12: device node name blacklisted
Sep 30 09:02:53 | ram13: device node name blacklisted
Sep 30 09:02:53 | ram14: device node name blacklisted
Sep 30 09:02:53 | ram15: device node name blacklisted
Sep 30 09:02:53 | loop0: device node name blacklisted
Sep 30 09:02:53 | loop1: device node name blacklisted
Sep 30 09:02:53 | loop2: device node name blacklisted
Sep 30 09:02:53 | loop3: device node name blacklisted
Sep 30 09:02:53 | loop4: device node name blacklisted
Sep 30 09:02:53 | loop5: device node name blacklisted
Sep 30 09:02:53 | loop6: device node name blacklisted
Sep 30 09:02:53 | loop7: device node name blacklisted
Sep 30 09:02:53 | sda: not found in pathvec
Sep 30 09:02:53 | sda: mask = 0x1f
Sep 30 09:02:53 | sda: dev_t = 8:0
Sep 30 09:02:53 | sda: size = 859525120
Sep 30 09:02:53 | sda: subsystem = scsi
Sep 30 09:02:53 | sda: vendor = Sun
Sep 30 09:02:53 | sda: product = cmoveldb02
Sep 30 09:02:53 | sda: rev = V1.0
Sep 30 09:02:53 | sda: h:b:t:l = 8:0:0:0
Sep 30 09:02:53 | sda: serial = 953FCC2D
Sep 30 09:02:53 | sda: get_state
Sep 30 09:02:53 | sda: path checker = directio (internal default)
Sep 30 09:02:53 | sda: state = running
Sep 30 09:02:53 | directio: starting new request
Sep 30 09:02:53 | directio: io finished 4096/0
Sep 30 09:02:53 | sda: state = 3
Sep 30 09:02:53 | sda: prio = const (internal default)
Sep 30 09:02:53 | sda: prio =  (internal default)
Sep 30 09:02:53 | sda: const prio = 1
Sep 30 09:02:53 | sda: getuid = /lib/udev/scsi_id --whitelisted --device=/dev/%n (internal default)
Sep 30 09:02:53 | sda: uid = SSun     cmoveldb02     953FCC2D (callout)
Sep 30 09:02:53 | dm-0: device node name blacklisted
Sep 30 09:02:53 | dm-1: device node name blacklisted
Sep 30 09:02:53 | sr0: device node name blacklisted
===== paths list =====
uuid                             hcil    dev dev_t pri dm_st chk_st vend/prod/
SSun     cmoveldb02     953FCC2D 8:0:0:0 sda 8:0   1   undef ready  Sun,cmovel
Sep 30 09:02:53 | sda: ownership set to SSun     cmoveldb02     953FCC2D
Sep 30 09:02:53 | sda: not found in pathvec
Sep 30 09:02:53 | sda: mask = 0xc
Sep 30 09:02:53 | sda: get_state
Sep 30 09:02:53 | sda: state = running
Sep 30 09:02:53 | directio: starting new request
Sep 30 09:02:53 | directio: io finished 4096/0
Sep 30 09:02:53 | sda: state = 3
Sep 30 09:02:53 | sda: const prio = 1
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: pgfailover = -1 (internal default)
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: pgpolicy = failover (internal default)
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: selector = round-robin 0 (internal default)
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: features = 0 (internal default)
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: hwhandler = 0 (internal default)
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: rr_weight = 1 (internal default)
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: minio = 1000 (config file default)
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: no_path_retry = NONE (internal default)
Sep 30 09:02:53 | pg_timeout = NONE (internal default)
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: set ACT_CREATE (map does not exist)
Sep 30 09:02:53 | SSun     cmoveldb02     953FCC2D: domap (0) failure for create/reload map
root@cmoveldb02:~#

and
Code:
root@cmoveldb02:~# ls -lrt /dev/mapper/*
crw------- 1 root root 10, 236 Sep 22 14:57 /dev/mapper/control
lrwxrwxrwx 1 root root       7 Sep 29 12:23 /dev/mapper/cmovel--db02-swap_1 -> ../dm-1
lrwxrwxrwx 1 root root       7 Sep 29 12:23 /dev/mapper/cmovel--db02-root -> ../dm-0
root@cmoveldb02:~#

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Creating create mirrored disk files systems using mkfs command

What is the correct mkfs syntax to create mirrored disk files systems? I need to make the file system 20gb. For example: machine# mkfs -F ufs /dev/md/dsk/d40 size not specified ufs usage: mkfs special size(sectors) \ -m : dump fs cmd line used to make this partition -V : print this... (4 Replies)
Discussion started by: GLJ@USC
4 Replies

2. Shell Programming and Scripting

File Scan

Hi everyone , i m working on Sun solaris and i have a file "smsapp.cur" which has information like this paragraph given below , there are millions of such paragraphs From:923212802736 To:923222326807 logMessage: 07-04-08 17:34:29 Getting message topup from code page default in language English... (2 Replies)
Discussion started by: Dastard
2 Replies

3. Solaris

how to create luns in A1000

hi friends how we can create luns in A1OOO storage ..plzhelp its very urgent when ever i am connect to A1000 raid controller through laptop with console cable with the help of hyperterminal..i isued serial port parameters which i mentioned below.. Set serial port parameters to: �... (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

4. Shell Programming and Scripting

Log File Scan

I need to read the last line of a log file and save it, sleep for X minutes and read the last line again. If the line is the same, exit 1, otherwise sleep for X minutes until the last line contains 'Status: Process completed'. Can anyone offer advice here? Thanks. (2 Replies)
Discussion started by: mode09
2 Replies

5. Red Hat

Scan For new LUNS

In Solaris the administrator has to update /kernel/drv/sd.conf file to tell the sd driver to scan for a broader range of scsi devices. Can someone please tell me what file needs to be update in Redhat Linux 5 for the same. Second part of the question is WWN for HBA's can be found (atleast in my... (1 Reply)
Discussion started by: Tirmazi
1 Replies

6. Shell Programming and Scripting

Help with create multiple directories under diff file systems

Hi, Need help ...I want to create multiple directories in different /file systems using for loop..eg.../ORCL_data01/oradata/orcl/ctl. ../ORCL_data01/oradata/orcl/data. ../ORCL_data01/oradata/orcl/redo. Script :- ========= for dir in `ls -d... (8 Replies)
Discussion started by: Linux6.5
8 Replies

7. Red Hat

Scan for new LUN and create a new file system

Hi Please I dont have a lot of redhat skills, but I need some help on creating a file system. I need to rescan for this new LUN, so I try to check existing LUNs: fdisk -l Disk /dev/sda: 299.4 GB, 299439751168 bytes 255 heads, 63 sectors/track, 36404 cylinders Units = cylinders of... (8 Replies)
Discussion started by: fretagi
8 Replies

8. Solaris

How to scan for LUNs in SunOS sun4v sparc?

Hi everyone, We have the below sun Operating system, Now our storage team have Create a 500GB LUN for this server, How can i scan and mount the shared LUN ? Could anyone help me to resolve this issue. SunOS my_hostname.com 5.10 Generic_150400-09 sun4v sparc sun4v Update: -------- I... (9 Replies)
Discussion started by: babinlonston
9 Replies

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

10. 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
All times are GMT -4. The time now is 01:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy