:: Re: [DNG] Identifying an installed …
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Hendrik Boom
Fecha:  
A: dng
Asunto: Re: [DNG] Identifying an installed physical hard drive without damage
On Mon, Aug 12, 2019 at 08:51:51AM +0200, Tomasz Torcz wrote:
> On Sun, Aug 11, 2019 at 03:10:23PM -0400, Hendrik Boom wrote:
> > On Sun, Aug 11, 2019 at 02:55:00PM +0200, Antony Stone wrote:
> > > On Sunday 11 August 2019 at 14:37:09, Hendrik Boom wrote:
> > >
> > > > I do not know which of the hard drives on my machine is /dev/sdb/
> > >
> > > ...
> > >
> > > > Or is there some completely different way of accomplishing what I want?
> > >
> > > # hdparm -i /dev/sdb
> > >
> > > It'll tell you the drive type and the serial number, which should also be
> > > printed on the drive label.
> >
> > Yes, that will help! Thank you.
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
> Or take a look at `ls -l /dev/disk/by-id/`, you will get maker, S/N
> and sdX device.


Indeed, Also dm devices from LVM, the md RAID paritions
and the ordinary hard drive partitions

What surprises me is the creation dates. I thought all these /dev
devices would be created at boot time, but the creation dates not all
the same.

I see July 24 for LVM's dm partitions, and August 10 for the physical
partitions and the RAID devices.

Auguset 10 might be when I did the security upgrade; July 24 might have
been when I last booted (because of a power failure).

Didn't there use to be something like by-path? That might distinguish
the devices connected directly from the motherboard from the ones
connected via an expaneion card.

(I made sure that the partitions cotributing to a RAID device were on
different adaptors -- one from the motherboard paired with oe from the
expansion card)

-- hendrik





>
> -- 
> Tomasz Torcz                Only gods can safely risk perfection,
> xmpp: zdzichubg@???     it's a dangerous thing for a man.  -- Alia

>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng