Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] how to install usb external disk
  • From: Leendert Meyer <leen.meyer@xxxxxxx>
  • Date: Sat, 23 Dec 2006 20:35:22 +0100
  • Message-id: <200612232035.22755.leen.meyer@xxxxxxx>
On Saturday 23 December 2006 19:58, jdd wrote:
> > Disk /dev/dm-1: 48.3 GB, 48323520000 bytes
>
> is your external usb drive 50Gb large? is yes, then you have
> got it.
>
> it's not formatted.
>
> or may be, there is only one /dev/dm drive with partition 0
> and 1, so the two drives I spoke of are only one, 50GiB drives??

To me it looks like two drives (dm-0 and dm-1), both with a non-standard
partitioning scheme (speculative guess: might be caused by garbage). My
usb-pendrive has two drives: 1 the size of a 3 1/2" floppy, and 1 HD-like,
and show up like sda and sdb.

Out of curiosity: was this usb-device used before, and with what OS?

> the first thing I would like to know before formatting is
> what is this "dm" disk type?
>
> looks like this:
> http://oss.gonicus.de/openpower/index.php/Dm-multipath-vscsi

Hmm, there is "dm" mentioned in /etc/udev/rules.d/60-persistent-storage.rules:
> # skip rules for inappropriate block devices
> KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*|md*", GOTO="persistent_storage_end"

The word "inappropriate" scares me a bit. What does it mean?

Also /etc/udev/rules.d/64-device-mapper.rules:
> KERNEL=="dm-*", ACTION=="add|change", GOTO="device_mapper_do"
> GOTO="device_mapper_end"
>
> LABEL="device_mapper_do"
> PROGRAM!="/sbin/dmsetup status -j %M -m %m",
> GOTO="device_mapper_end"

And from "man dmsetup":
> NAME
> dmsetup - low level logical volume management

I have no experience with that.

> but here I have no knowledge to help you :-(

Idem dito.

Cheers,

Leen
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References