*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Unable to mount a sofware raid FS from GUI (bug ?)

Software RAID information and help
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
tocato
NewUser
NewUser
Posts: 2
Joined: 06 Mar 2018 19:52
Status: Offline

Unable to mount a sofware raid FS from GUI (bug ?)

#1

Post by tocato » 06 Mar 2018 20:16

Hello,

I've got an existing software raid 1 with UFS file system created in older Nas4free version (maybe 3 years ago).
I've installed from scratch the latest release 11.1.0.4.5127 with success but after importing my sofware raid from the GUI, I can mount it. :cry:
Image

However I can mount the file system from CLI (mount /dev/mirror/raid1 /mnt/test).

Does someone can help me to understand what's happening? Maybe because my array name is "raid1" ? Maybe a GUI bug? How can I create a mount point from GUI with this issue? Thanks.

BR,
Anthony



> Fsck is correct:

Code: Select all

nas4free: /# fsck_ufs /dev/mirror/raid1
** /dev/mirror/raid1
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
368172 files, 441360285 used, 268205046 free (40846 frags, 33520525 blocks, 0.0% fragmentation)

***** FILE SYSTEM IS CLEAN *****
nas4free: /#
> The dmesg seems to be correct too:

Code: Select all

nas4free: /# dmesg
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE-p6 #0 r328967M: Wed Feb  7 08:48:16 CET 2018
    root@dev.nas4free.org:/usr/obj/nas4free/usr/src/sys/NAS4FREE-amd64 amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0                                                                                        )
CPU: AMD E-350D APU with Radeon(tm) HD Graphics (1600.03-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x500f20  Family=0x14  Model=0x2  Stepping=0
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C                                                                                        MOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802209<SSE3,MON,SSSE3,CX16,POPCNT>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x35ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKINI                                                                                        T,WDT>
  SVM: NP,NRIP,NAsids=8
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 3660361728 (3490 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
WARNING: VIMAGE (virtualized network stack) is a highly experimental feature.
ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has valid Length bu                                                                                        t zero Address: 0x0000000000000000/0x1 (20170303/tbfadt-796)
ioapic0: Changing APIC ID to 0
ioapic0 <Version 2.1> irqs 0-23 on motherboard
SMP: AP CPU #1 Launched!
Timecounter "TSC" frequency 1600031109 Hz quality 800
random: entropy device external interface
md0: Preloaded image </mfsroot> 134217728 bytes at 0xffffffff82a90b78
kbd1 at kbdmux0
netmap: loaded module
nexus0
cryptosoft0: <software crypto> on motherboard
acpi0: <ALASKA A M I> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" frequency 14318180 Hz quality 450
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xf000-0xf0ff mem 0xc0000000-0xcfffffff,0                                                                                        xfeb00000-0xfeb3ffff irq 18 at device 1.0 on pci0
vgapci0: Boot video device
hdac0: <ATI (0x1314) HDA Controller> mem 0xfeb44000-0xfeb47fff irq 19 at device                                                                                         1.1 on pci0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 4.0 on pci0
pcib1: [GIANT-LOCKED]
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xe020-0xe03f mem 0xfea                                                                                        60000-0xfea7ffff,0xfea40000-0xfea5ffff irq 16 at device 0.0 on pci1
em0: Using an MSI interrupt
em0: Ethernet address: 00:15:17:91:b3:f2
em0: netmap queues/slots: TX 1/1024, RX 1/1024
em1: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xe000-0xe01f mem 0xfea                                                                                        20000-0xfea3ffff,0xfea00000-0xfea1ffff irq 17 at device 0.1 on pci1
em1: Using an MSI interrupt
em1: Ethernet address: 00:15:17:91:b3:f3
em1: netmap queues/slots: TX 1/1024, RX 1/1024
ahci0: <AMD SB7x0/SB8x0/SB9x0 AHCI SATA controller> port 0xf190-0xf197,0xf180-0x                                                                                        f183,0xf170-0xf177,0xf160-0xf163,0xf150-0xf15f mem 0xfeb4f000-0xfeb4f3ff irq 19                                                                                         at device 17.0 on pci0
ahci0: AHCI v1.20 with 4 6Gbps ports, Port Multiplier supported
ahci0: quirks=0x22000<ATI_PMP_BUG,1MSI>
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb4e000-0xfeb4efff irq 18 a                                                                                        t device 18.0 on pci0
usbus0 on ohci0
usbus0: 12Mbps Full Speed USB v1.0
ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfeb4d000-0xfeb4d0ff irq                                                                                         17 at device 18.2 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
usbus1: 480Mbps High Speed USB v2.0
ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb4c000-0xfeb4cfff irq 18 a                                                                                        t device 19.0 on pci0
usbus2 on ohci1
usbus2: 12Mbps Full Speed USB v1.0
ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfeb4b000-0xfeb4b0ff irq                                                                                         17 at device 19.2 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci1
usbus3: 480Mbps High Speed USB v2.0
atapci0: <ATI IXP700/800 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,                                                                                        0x376,0xf100-0xf10f irq 17 at device 20.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
hdac1: <ATI SB600 HDA Controller> mem 0xfeb40000-0xfeb43fff irq 16 at device 20.                                                                                        2 on pci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib2: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci2: <ACPI PCI bus> on pcib2
ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb4a000-0xfeb4afff irq 18 a                                                                                        t device 20.5 on pci0
usbus4 on ohci2
usbus4: 12Mbps Full Speed USB v1.0
pcib3: <ACPI PCI-PCI bridge> at device 21.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 21.1 on pci0
pci4: <ACPI PCI bus> on pcib4
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd                                                                                        0ff mem 0xd0004000-0xd0004fff,0xd0000000-0xd0003fff irq 17 at device 0.0 on pci4
re0: Using 1 MSI-X message
re0: Chip rev. 0x2c000000
re0: MAC rev. 0x00200000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX                                                                                        , 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-                                                                                        master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: bc:5f:f4:8f:95:ac
re0: netmap queues/slots: TX 1/256, RX 1/256
ohci3: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfeb49000-0xfeb49fff irq 18 a                                                                                        t device 22.0 on pci0
usbus5 on ohci3
usbus5: 12Mbps Full Speed USB v1.0
ehci2: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfeb48000-0xfeb480ff irq                                                                                         17 at device 22.2 on pci0
usbus6: EHCI version 1.0
usbus6 on ehci2
usbus6: 480Mbps High Speed USB v2.0
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb4
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
acpi_throttle0: <ACPI CPU Throttling> on cpu0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
            to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
iSCSI boot driver version 0.2.13
nvme cam probe device init
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdacc1: <Realtek ALC892 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC892 Audio Function Group> at nid 1 on hdacc1
pcm1: <Realtek ALC892 (Rear Analog 5.1/2.0)> at nid 20,22,21 and 24,26 on hdaa1
pcm2: <Realtek ALC892 (Front Analog)> at nid 27 and 25 on hdaa1
pcm3: <Realtek ALC892 (Rear Digital)> at nid 30 on hdaa1
ugen1.1: <ATI EHCI root HUB> at usbus1
ugen5.1: <ATI OHCI root HUB> at usbus5
uhub0: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen0.1: <ATI OHCI root HUB> at usbus0
ugen4.1: <ATI OHCI root HUB> at usbus4
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen6.1: <ATI EHCI root HUB> at usbus6
uhub4: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus6
ugen2.1: <ATI OHCI root HUB> at usbus2
uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <ATI EHCI root HUB> at usbus3
uhub6: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
uhub3: 2 ports with 2 removable, self powered
uhub1: 4 ports with 4 removable, self powered
uhub2: 5 ports with 5 removable, self powered
uhub5: 5 ports with 5 removable, self powered
uhub4: 4 ports with 4 removable, self powered
uhub6: 5 ports with 5 removable, self powered
uhub0: 5 ports with 5 removable, self powered
ugen1.2: <Generic AutoRUNPartition> at usbus1
umass0 on uhub0
umass0: <Generic AutoRUNPartition, class 0/0, rev 2.00/1.00, addr 2> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0xc100
umass0:6:0: Attached to scbus6
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD30EFRX-68AX9N0 80.00A80> ACS-2 ATA SATA 3.x device
ada0: Serial Number WD-WMC1T3138807
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 2861588MB (5860533168 512 byte sectors)
ada0: quirks=0x1<4K>
da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
da0: ada1: <ST3000VN000-1H4167 SC43> ACS-2 ATA SATA 3.x device
<Mass Storage Device \134001\134000\134000?> Removable Direct Access SCSI device
ada1: Serial Number Z300L1E9
da0: Serial Number 125B00000000
ada1: 600.000MB/s transfersda0: 40.000MB/s transfers (SATA 3.x,
da0: 1909MB (3911679 512 byte sectors)
UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
da0: quirks=0x2<NO_6_BYTE>
ada1: 2861588MB (5860533168 512 byte sectors)
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: <Hitachi HUA721010KLA330 GKAOA74A> ATA-7 SATA 2.x device
ada2: Serial Number GTE000PBGGBWYE
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 953869MB (1953525168 512 byte sectors)
ada3 at ahcich3 bus 0 scbus3 target 0 lun 0
ada3: <SAMSUNG HD103UI 1AA01113> ATA-7 SATA 2.x device
ada3: Serial Number S1LMJ1BQB02148
ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada3: Command Queueing enabled
ada3: 953869MB (1953525168 512 byte sectors)
random: unblocking device.
Trying to mount root from ufs:/dev/md0 []...
re0: link state changed to UP
re0: link state changed to DOWN
re0: link state changed to UP
ifa_maintain_loopback_route: deletion failed for interface lo0: 48
ifa_maintain_loopback_route: switch failed for interface re0: 3
ifa_maintain_loopback_route: deletion failed for interface re0: 3
re0: link state changed to DOWN
re0: link state changed to UP
GEOM_MIRROR: Device mirror/raid1 launched (2/2).
GEOM_RAID5: Module loaded, version 1.3.20140711.62 (rev f91e28e40bf7)
nas4free: /#
> The RAID state is OK:

Code: Select all

nas4free: /# gmirror list
Geom name: raid1
State: COMPLETE
Components: 2
Balance: load
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 5
ID: 2296374253
Type: AUTOMATIC
Providers:
1. Name: mirror/raid1
   Mediasize: 3000592981504 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
Consumers:
1. Name: ada1
   Mediasize: 3000592982016 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE
   Priority: 1
   Flags: NONE
   GenID: 0
   SyncID: 5
   ID: 940034878
2. Name: ada0
   Mediasize: 3000592982016 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 5
   ID: 1595181964

nas4free: /#
Last edited by tocato on 07 Mar 2018 22:03, edited 3 times in total.

User avatar
tony1
Moderator
Moderator
Posts: 172
Joined: 14 Jul 2016 19:04
Status: Offline

Re: Unable to mount a sofware raid FS from GUI (bug ?)

#2

Post by tony1 » 09 Mar 2018 14:17

try to set the Partition type to MBR

User avatar
ms49434
Developer
Developer
Posts: 719
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: Unable to mount a sofware raid FS from GUI (bug ?)

#3

Post by ms49434 » 09 Mar 2018 15:19

Your configuration suggests that you have formatted your RAID without creating partitions first.
In order to mount your RAID you must select "Custom Device" as type and you must enter the full path to your RAID, i.e. /dev/mirror/raid1 under "Device / Label"
1) XigmaNAS 12.0.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U2, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, SLOG: Samsung 850 Pro, L2ARC: Samsung 850 Pro, Pool 2: 1x Samsung 860 EVO 1TB , services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.0.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U2, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

tocato
NewUser
NewUser
Posts: 2
Joined: 06 Mar 2018 19:52
Status: Offline

Re: Unable to mount a sofware raid FS from GUI (bug ?)

#4

Post by tocato » 20 Mar 2018 21:58

Hello,

Sorry for this late answer.
Your configuration suggests that you have formatted your RAID without creating partitions first.
In order to mount your RAID you must select "Custom Device" as type and you must enter the full path to your RAID, i.e. /dev/mirror/raid1 under "Device / Label"
That's the trick to mount the volume ! Thanks dude :)
I made a fdisk and there seems to be a primary partition. Is that correct or does it confirm what you said?

Code: Select all

nas4free: ~# fdisk /dev/mirror/raid1
******* Working on device /dev/mirror/raid1 *******
parameters extracted from in-core disklabel are:
cylinders=364801 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=364801 heads=255 sectors/track=63 (16065 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 1565550252 (764428 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 170/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
nas4free: ~#

Post Reply

Return to “Software RAID”