Date: Wed, 24 Nov 2010 02:25:59 +0300 From: cronfy <cronfy@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Rescan hard drives Message-ID: <AANLkTiksK3c%2BEsRTSH0oRt=XhXjOm7i4_hVihRNLzh=j@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello,
I am using Adaptec 3405 with FreeBSD 7.3. After hot-swapping some hard
drives and deleting/creating RAID1 mirror I stuck with situation when I can
not work with newly created device.
It is aacd1. Previously it was 1000G drive without RAID. Now it is 300G
RAID1 mirror. But `geom disk list` reports:
Geom name: aacd1
Providers:
1. Name: aacd1
Mediasize: 999642103808 (931G)
Sectorsize: 512
Mode: r0w0e0
Geom name: aacd1
Providers:
1. Name: aacd1
Mediasize: 299563483136 (279G)
Sectorsize: 512
Mode: r0w0e0
fwsectors: 63
fwheads: 255
If I delete this RAID1 with arcconf, geom disk list still reports about 931G
drive at aacd1, though it was swapped out from server.
`dmesg | tail` says kernel detected new drive:
aacd1: <RAID 1 (Mirror)> on aac0
aacd1: 285686MB (585084928 sectors)
But fdisk, bsdlabel, dd and others do not work with aacd1 because of error
message: 'Device not configured'. Also there is old partition table of
previous disk seen in `ls /dev/aacd1*`, tough new disk was not partitioned.
Is there a way to reread connected drives information in FreeBSD? I tried:
# atacontrol list
ATA channel 2:
Master: no device present
Slave: no device present
ATA channel 3:
Master: no device present
Slave: no device present
ATA channel 4:
Master: no device present
Slave: no device present
ATA channel 5:
Master: no device present
Slave: no device present
And
# camcontrol devlist
camcontrol: couldn't open /dev/xpt0: No such file or directory
They do not work :(
Would be appreciated for any hint.
--
// cronfy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTiksK3c%2BEsRTSH0oRt=XhXjOm7i4_hVihRNLzh=j>
