08-15-2008
Since your D partition resides on an extended DOS partition, I guess you'll need to mount /dev/ad2s5 instead of /dev/ad2s2.
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi everyone, this is the first time I have ever properly used Linux - I run Red Hat Linux 8. I have two hardrives, my main 80gig, and my "extra" 15gig, I would like to be able to gain access to my 15gig and view the files. I know to view files on a floppy disk or a cd you need to mount the... (1 Reply)
Discussion started by: mo0ness
1 Replies
2. Solaris
Hello,
How do I mount root on networked machines in Solaris 2.5 and 7? I did it before but I lost the clue. Was it something in vfstab? root=?
I want to give some machines or users rootaccess on other machines on the lan. Do I specify users or machines at the root is option?
Thanks in... (1 Reply)
Discussion started by: Albert
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I'm looking to mount a cd on an old AViiON system we have. No one here really has any expertise with this platform so any help will be appreciated. I * think* the device is sd(apsc(pci(1),B,0,7),5,0), however I'm not sure at all.
Thanks! (0 Replies)
Discussion started by: madesjardins
0 Replies
4. UNIX for Dummies Questions & Answers
Hello, I am trying to mount a second scsi hard drive on a SCO box. (5.0.5.) And I can't figure out what the device file for it is so I can mount it. Can anyone help me?
thanks. (1 Reply)
Discussion started by: iconn
1 Replies
5. UNIX for Dummies Questions & Answers
I'm trying to find a correct command that will mount a filesystem ext3 the device /dev/sda1 to mount point /mnt/usb but not allow any programs to run from it.
I want to be honest as I've read the forum rules... This is a homework question BUT, i'm generally interested in the correct process and... (3 Replies)
Discussion started by: CasperQuiet
3 Replies
6. UNIX for Dummies Questions & Answers
My previous post seems to be erased and I didn't get any help. I'm logged as root now but no mounting command seems to work, I've tried:
Mount -t vfat /dev/sdc1 /mnt/USB
Changing "sdc1" for hda1-7, and sdc1-7, and still nothing. Sometimes i get:
"special device not found" and others "device... (4 Replies)
Discussion started by: Dax01
4 Replies
7. Filesystems, Disks and Memory
I generally use mount many times to mount an iso image or as a bind between directories or mounting a squash file system. Y does one require root permission to do a mount --bind between two of his own directories or just mount an iso/squash image in directory he owns? Also I wish mount had an... (0 Replies)
Discussion started by: bbala
0 Replies
8. Shell Programming and Scripting
I have a big confusion in mounting........so please tell me whats the exact meaning of it nd do other os have this concept or not? (8 Replies)
Discussion started by: Mac91
8 Replies
9. HP-UX
Hello,
I want monting a LUN on a RX2660
I have created a LUN of 100Go with HP StorageWorks EVA and associated to my server.
For the moment I see it with the command below but after i can't used it
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description ... (10 Replies)
Discussion started by: letters
10 Replies
KPARTX(8) Linux Administrator's Manual KPARTX(8)
NAME
kpartx - Create device maps from partition tables
SYNOPSIS
kpartx [-a | -d | -l] [-v] wholedisk
DESCRIPTION
This tool, derived from util-linux' partx, reads partition tables on specified device and create device maps over partitions segments
detected. It is called from hotplug upon device maps creation and deletion.
OPTIONS
-a Add partition mappings
-r Readonly partition mappings
-r Read-only partition mappings
-d Delete partition mappings
-u Update partition mappings
-l List partition mappings that would be added -a
-p set device name-partition number delimiter
-f force creation of mappings; overrides 'no_partitions' feature
-g force GUID partition table (GPT)
-v Operate verbosely
-s Sync mode. Don't return until the partitions are created
EXAMPLE
To mount all the partitions in a raw disk image:
kpartx -av disk.img
This will output lines such as:
loop3p1 : 0 20964762 /dev/loop3 63
The loop3p1 is the name of a device file under /dev/mapper which you can use to access the partition, for example to fsck it:
fsck /dev/mapper/loop3p1
When you're done, you need to remove the devices:
kpartx -d disk.img
SEE ALSO
multipath(8) multipathd(8) hotplug(8)
AUTHORS
This man page was assembled By Patrick Caulfield for the Debian project. From documentation provided by the multipath author Christophe
Varoqui, <christophe.varoqui@opensvc.com> and others.
July 2006 KPARTX(8)