Sponsored Content
Operating Systems Linux Red Hat Device Mapper Notations and LVM Post 302378000 by mark54g on Sunday 6th of December 2009 10:11:27 AM
Old 12-06-2009
When using SCSI devices, the path is clearly defined based on the SCSI ID of the controller, the port that the device is connected to, etc.

SATA/SAS drives do not have this luxury, as they are not defined on a chain. This causes some confusion, as when /dev/sda comes up next time, it may be /dev/sdc.

dev-mapper uses a different, non-volatile ID such as UUID or disk label (contained in metadata) to keep disk paths consistent, through its abstraction.

Basically, the short version is:

To make sure that your devices are named and in a consistent path, dev-mapper handles the devices so that your / is found properly each bootup and is not confused with /tmp or some other file system on another device.
 

9 More Discussions You Might Find Interesting

1. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

2. Red Hat

device-mapper-multipath path [undef]

I have an HP blade with Qlogic HBA's connected to an EVA8000. I have downloaded the latest multipath.conf from HP's website. The drive presented to the server appears to be configured and working except the output of "multipath -l" shows for all paths. What is causing this output? mpath0... (2 Replies)
Discussion started by: manzier
2 Replies

3. Linux

If i don't have raid disks can i shut down dmraid device-mapper?

hello my centOS newly installed system loading dmraid modules on startup I did remove all LVM/raid things from system installation menus and after installation too but dmraid is still there and he says: no raid disks found also I did modprobe -r dm_raid45 and it do remove it but only until... (7 Replies)
Discussion started by: tip78
7 Replies

4. AIX

LVM & Raw device i/o comparison

Please consider this a question about basics&best practices. On AIX 5.3 system, three raw physical volumes are defined from storage. While doing a read with command dd from the raw device, the speed rate is 250Mb/s. Then, it gets complex when I define these three pv's to an lv of type raw. Doing... (4 Replies)
Discussion started by: royalliege
4 Replies

5. UNIX for Advanced & Expert Users

lvm swapon failed Device or resource busy

Is there a trick to mounting swap in n a lvm? I can't get it to work. # swapon -va swapon on /dev/mapper/VG-lv_swap swapon: /dev/mapper/VG-lv_swap: found swap signature: version 1, page-size 4, same byte order swapon: /dev/mapper/VG-lv_swap: pagesize=4096, swapsize=4294967296,... (1 Reply)
Discussion started by: cokedude
1 Replies

6. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

7. UNIX for Dummies Questions & Answers

What is /dev/mapper used for?

I see a folder named "mapper" in /dev. This folder "mapper" has some soft link to other folders. What is mapper folder used for? (2 Replies)
Discussion started by: rupeshkp728
2 Replies

8. Red Hat

Device-mapper behaviour booting on init=bin/bash

Good morning Recently we needed to change the password from a redhat 6.5 system that no one knew the root password. Starting the system with the init=/bin/bash method took us to the following scenario: system_vg active with only root_lv and tmpfs mounted. our entries at fstab are like... (1 Reply)
Discussion started by: Ikaro0
1 Replies

9. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
f1tattoo(1)							   f1tattoo 0.7 						       f1tattoo(1)

NAME
f1tattoo - disc T@2 feature for Yamaha F1 CD-RW devices SYNOPSIS
f1tattoo [-l] [-h] f1tattoo -d DEVICE [-c] [-s] [--tattoo-test] f1tattoo -d DEVICE --tattoo-raw <file.raw> f1tattoo -d DEVICE --tattoo-png <file.png> DESCRIPTION
f1tattoo is the linux console tool to use the Yamaha disc T@2 feature. You won't get satisfying results on Phtalocyanin dye. FEATURES
You can disc T@2 with these drives: Yamaha F1 CD-RW, Yamaha F1DX DEVICE
can be an IDE, SCSI, SATA, USB or FireWire connected optical drive. Not all SATA controller support all Plextor features. Linux: /dev/hdX: IDE device /dev/scdX: Linux 2.4: SATA, SCSI, USB device, or IDE device via ide-scsi emulation /dev/srX: Linux 2.6: IDE device via new ATA layer, SCSI or USB device OpenBSD/NetBSD: /dev/rcdX FreeBSD: /dev/cd: SCSI device /dev/acd: ATA device MacOS X: /dev/disk: win32: C:,D:,E:, ... X:,Y:,Z: OPTIONS
-l, --scanbus scan busses for all available CD and DVD devices. -h, --help help. show available options. -c, --current show current drive settings of selected device -s, --supported show supported features of selected device --tattoo-test write DiscT@2 test image --tattoo-raw tattoo.raw write DiscT@2 using raw data from tattoo.raw file --tattoo-png tattoo.png write DiscT@2 using png image from tattoo.png file check if f1tattoo compiled with png support using --help option -v, --verbose give verbose output EXAMPLES
f1tattoo -l list all available CD- and DVD-devices f1tattoo -d /dev/hdc --tattoo-raw filename.raw writes DiscT@2 using filename.raw file on media in device /dev/hdc please report man page improvements to T.Maguin@web.de Gennady ShultZ Kozlov 10. April, 2009 f1tattoo(1)
All times are GMT -4. The time now is 09:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy