This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Old HDDs came from a Intel Software RAID controller

Hard disks, HDD, RAID Hardware, disk controllers, SATA, PATA, SCSI, IDE, On Board, USB, Firewire, CF (Compact Flash)
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
jader31
NewUser
NewUser
Posts: 2
Joined: 16 Feb 2013 10:57
Status: Offline

Old HDDs came from a Intel Software RAID controller

Post by jader31 »

Hi

I'm trying to use used HDDs from another computer. They were used under a (fake ??) RAID controller onboard (Intel motherboard/controller).
Now these HDDs are in a HP N40L computer.
I'm unable to use those disks (fails on format with error 1 message when try to apply changes) and I can see this on dmesg:

Code: Select all

Timecounter "TSC-low" frequency 11699499 Hz quality 800
GEOM: da0: geometry does not match label (16h,63s != 255h,63s).
GEOM: da0: media size does not match label.
GEOM_RAID: Intel-6823ede0: Array Intel-6823ede0 created.
GEOM_RAID: Intel-6823ede0: Disk ada0 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-6823ede0: Subdisk ENG02:1-ada0 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-6823ede0: Disk ada1 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-6823ede0: Subdisk ENG02:2-ada1 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-6823ede0: Disk ada2 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-6823ede0: Subdisk ENG02:0-ada2 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-6823ede0: Disk ada3 state changed from NONE to ACTIVE.
GEOM_RAID: Intel-6823ede0: Subdisk ENG02:3-ada3 state changed from NONE to REBUILD.
GEOM_RAID: Intel-6823ede0: Array started.
GEOM_RAID: Intel-6823ede0: Volume ENG02 state changed from STARTING to DEGRADED.
GEOM_RAID: Intel-6823ede0: Subdisk ENG02:3-ada3 rebuild start at 476741369856.
GEOM_RAID: Intel-6823ede0: Provider raid/r0 for volume ENG02 created.
Trying to mount root from ufs:/dev/md0 []...
GEOM_NOP: Device ada0.nop created.
On IRC I've talked to others and tryed to wipe the disk using script wipe.sh but just get operation not allowed. See below:

Code: Select all

nas:~# /mnt/wipe.sh 
What disk do you want
to wipe? For example - ada1 :
ada0
OK, in 5 seconds I will destroy all data on ada0!
Press CTRL+C to abort!
dd: /dev/ada0: Operation not permitted
dd: /dev/ada0: Operation not permitted
nas:~# 
I'm far away from computer, using remote SSH. just have access thru my own linux server and redirect.

So I'm out of ideas for now... and asking for help.

Thanks

Jáder

User avatar
shakky4711
Advanced User
Advanced User
Posts: 273
Joined: 25 Jun 2012 08:27
Status: Offline

Re: Old HDDs came from a Intel Software RAID controller

Post by shakky4711 »

Hello,

You need to be root (default when you did not change it it is the user "admin") to do this task. Type "su", then enter the password (standard is nas4free).
Be really careful to choose the right disk ;)

Shakky

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Old HDDs came from a Intel Software RAID controller

Post by raulfg3 »

your disk can't be mounted to wipe it, only detected by Nas4Free. if one disk is part of any active pool /Raid etc ( is mounted), can not be wiped.

and be totally sure what disk do you want to wipe, because is one way only action .
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

jader31
NewUser
NewUser
Posts: 2
Joined: 16 Feb 2013 10:57
Status: Offline

Re: Old HDDs came from a Intel Software RAID controller

Post by jader31 »

I think I solved it!
I search forums and found 2 threads related:
viewtopic.php?f=59&t=2206
and
viewtopic.php?f=16&t=1404

where I found commands about to stop GEOM raid from Hardware controllers.
So below it's what I did to help next one!

Code: Select all

nas:~# gpart show
=>      0  3948544  da0  BSD  (1.9G)
        0   225792    1  freebsd-ufs  (110M)
   225792  3722752       - free -  (1.8G)

=>        63  3907039169  raid/r0  MBR  (1.8T)
          63        1985           - free -  (992k)
        2048  3907033088        1  ntfs  (1.8T)
  3907035136        4096           - free -  (2.0M)
OK... there are a 1.8TB RAID raid/r0 with a NTFS partition...

Code: Select all

nas:~# graid stop r0
graid: Array 'r0' not found.
nas:~# graid stop raid/r0
graid: Array 'raid/r0' not found.

hum.... do not work...

Code: Select all

nas:~# graid status 
   Name   Status  Components
raid/r0  OPTIMAL  ada0 (ACTIVE (ACTIVE))
                  ada1 (ACTIVE (ACTIVE))
                  ada2 (ACTIVE (ACTIVE))
                  ada3 (ACTIVE (ACTIVE))
nas:~# graid status -g
          Name   Status  Components
Intel-6823ede0  OPTIMAL  ada0 (ACTIVE (ACTIVE))
                         ada1 (ACTIVE (ACTIVE))
                         ada2 (ACTIVE (ACTIVE))
                         ada3 (ACTIVE (ACTIVE))
nas:~# graid stop Intel-6823ede0
nas:~# graid status Intel-6823ede0
graid: No such geom: Intel-6823ede0.
nas:~# graid status -g
Now it appears to be removed!

Code: Select all

nas:~# gpart show
=>      0  3948544  da0  BSD  (1.9G)
        0   225792    1  freebsd-ufs  (110M)
   225792  3722752       - free -  (1.8G)
yes... no more 1.8TB RAID.

So I went to ZFS page and activate my raidz1 array and now it show at GUI!

Attached you'll find the status report I generated BEFORE and AFTER my changes.

I'll reboot the N4F now...nothing to loose anyway.
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “Hard disk & controller”