*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

Installation without usb media?

New installs of XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
isoellias
NewUser
NewUser
Posts: 9
Joined: 24 Jul 2019 15:41
Location: Brasil, RS
Status: Offline

Installation without usb media?

#1

Post by isoellias » 24 Jul 2019 16:18

Hi community members,
I come to you for help in resolving a question, perhaps a little atypical. Because maybe this question has been clarified before ...

I am installing XigmaNAS 12.0.0.4 - Reticulus (revision 6766) on a server:
--------------------------------
2x Xeon CPU E5405 2.00GHz
20GB/Ram
Controladora: HP Smart Array E200
Dois discos SAS 146GB
--------------------------------

Not getting good experience using pendrivers for embedded installation. So I have preferred to install on the disk itself.
I am using for installation the option: "Advanced ZFS installer options";
So the system is installed on both hard drives, but how to use the remaining space available?

Image

Is it possible somehow XigmaNAS to use partition 3?
Note that the system is installed in a zfs (mirror) pool on two disks. I would like to do the same for the remaining 133GB space.
Because I do not want to make use of USB stick.

Thankful!
12.0.0.4 - Reticulus (revision 6766) | FreeBSD 12.0-RELEASE-p6
x64-full on Intel Xeon 2.33GHz | 4G/Ram
Two 2Tb disks over zraid

igr4free
Starter
Starter
Posts: 72
Joined: 19 Dec 2016 15:12
Status: Offline

Re: Installation without usb media?

#2

Post by igr4free » 24 Jul 2019 21:29

it seems that you have installed xigmanas in mirror mode? and in the partition distribution you have left for the 133Gb operating system but you could only use one disk, since the other one is for mirroring.

With two disks, you could install in stripe so that they look like a single disk, but if one fails it will break everything ... or, install the system on a one drive, configuring the partitions with more space for data. OS occupies very little, so with a few gigabytes it is enough.
XigmaNAS version 12.0.0.4.6881 - Reticulus RootOnZFS (mirror disk)
HPE Proliant Microserver Gen8 / CPU: E3-1265L V2 @ 2.50GHz / Mem: 16GB DDR3 ECC / Storage: IBM ServerRaid m1015, 4x 1TB HITACHI RaidZ1, 2x 1TB HITACHI Stripe, OS Disk: 2x 80GB INTEL SSD

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

Re: Installation without usb media?

#3

Post by raulfg3 » 25 Jul 2019 07:54

isoellias wrote:but how to use the remaining space available?
in the install procedure, ask about if you want to create a "Data" pool with the free space.

viewtopic.php?f=4&t=14170
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

isoellias
NewUser
NewUser
Posts: 9
Joined: 24 Jul 2019 15:41
Location: Brasil, RS
Status: Offline

Re: Installation without usb media?

#4

Post by isoellias » 25 Jul 2019 16:42

Dear friend, thanks for the return. And sorry my translated English, if it is not very clear.
I gave up on this onslaught! And I will use Pen Drive for XigmaNAS installation.

I have no confidence in removable media. My past experience has been very bad using FreeNAS. It started with some errors ... until one day I need to restart the system and PROBLEM !! :x
So I tried to have XigmaNAS on mirror mode local disks and still use the remaining space available through the XigmaNAS GUI

Yes, it is an installation on two mirror type zfs disks.
Virtual Testing Environment: Look:

Code: Select all

xigmanas: ~# gpart show
=>       40  251658160  da0  GPT  (120G)
         40       1024    1  freebsd-boot (512K) > boot
       1064       7128       - free -     (3.5M)
       8192    8388608    2  freebsd-zfs  (4.0G) > OS (zfs mirror) 
    8396800  243261400       - free -     (116G) > free (not seen by XigmaNAS)

=>       40  251658160  da1  GPT  (120G)
         40       1024    1  freebsd-boot (512K) > boot
       1064       7128       - free -     (3.5M) 
       8192    8388608    2  freebsd-zfs  (4.0G) > OS (zfs mirror)
    8396800  243261400       - free -     (116G) > free (not seen by XigmaNAS)
As I understand it, XigmaNAS for security does not use the same boot disks. But I believe there would be no problem if it is on separate partitions. I even managed to do it under the hood, but I can't risk anything unapproved.

Thankful.
12.0.0.4 - Reticulus (revision 6766) | FreeBSD 12.0-RELEASE-p6
x64-full on Intel Xeon 2.33GHz | 4G/Ram
Two 2Tb disks over zraid

isoellias
NewUser
NewUser
Posts: 9
Joined: 24 Jul 2019 15:41
Location: Brasil, RS
Status: Offline

Re: Installation without usb media?

#5

Post by isoellias » 25 Jul 2019 16:51

raulfg3 wrote:
25 Jul 2019 07:54
in the install procedure, ask about if you want to create a "Data" pool with the free space.
viewtopic.php?f=4&t=14170
Friend, I tried this procedure, but partnered that competes with the same free space as the OS.
But it's the best way out for the kind of installation I want to do.
Thank you!
12.0.0.4 - Reticulus (revision 6766) | FreeBSD 12.0-RELEASE-p6
x64-full on Intel Xeon 2.33GHz | 4G/Ram
Two 2Tb disks over zraid

igr4free
Starter
Starter
Posts: 72
Joined: 19 Dec 2016 15:12
Status: Offline

Re: Installation without usb media?

#6

Post by igr4free » 25 Jul 2019 20:32

Recently, I used a micro SD for my xigmanas. and with a power outage, my system was corrupted, with the config.xml file the system could recover very easily. although I had the data in a raidz1 on different disks.

I don't remember when the installation could define the space.

I currently have the OS in mirror, although I still have the data on different raidz disks and saving the configuration file
XigmaNAS version 12.0.0.4.6881 - Reticulus RootOnZFS (mirror disk)
HPE Proliant Microserver Gen8 / CPU: E3-1265L V2 @ 2.50GHz / Mem: 16GB DDR3 ECC / Storage: IBM ServerRaid m1015, 4x 1TB HITACHI RaidZ1, 2x 1TB HITACHI Stripe, OS Disk: 2x 80GB INTEL SSD

arghdubya
NewUser
NewUser
Posts: 9
Joined: 05 May 2018 02:31
Status: Offline

Re: Installation without usb media?

#7

Post by arghdubya » 26 Jul 2019 01:03

This just doesn't look right at all. (no usual swap partition for one)
I think with your prior attempts, an old zfs partition was picked up and isn't getting cleared (even though the installer tries to clear the drives)
I've run into this myself. I suggest wiping the drives outside of XigmaNAS.
I'd keep it simple and boot any Linux thumbdrive and run a GPT clear and also DD if=/dev/zero the first 100mb or so of the drives.
It's only important to clear the data structures at the very beginning and END of the drives.
or just ... dd zero the whole drives if you're not sure what to do.

fdisk -l (to find the drives)

dd if=/dev/zero of=/dev/sg1 bs=4M
sg1 or whatever you learn from the fdisk

Then it should install normally on the next attempt.
1: N40L 4gb [(6) int 2tb +esata mediasonic (4) 2tb] 20tb's in Z2 , Marvel based eSata, boot on USB and SSD ARC 11.2.0.4 - Omnius (revision 6177)
2: Noontec (J1800 based) 4gb 2bay NAS with 1tb mirror, dedup on, rev5074
3: UNAS 4bay Intel DH61DL 8gb, Marvel MiniPCIe AHCI, SDD boot root-on-ZFS , (6) 2-tb-3tb in Z1 (10tb total currently) 11.2.0.4 - Omnius (revision 6177)
& 4 QNAPs, 1 Synology, MS Home Server 2008 HP EX495, Vsphere 6.7, Win Server 2016 AD

isoellias
NewUser
NewUser
Posts: 9
Joined: 24 Jul 2019 15:41
Location: Brasil, RS
Status: Offline

Re: Installation without usb media?

#8

Post by isoellias » 26 Jul 2019 18:57

igr4free wrote:
25 Jul 2019 20:32
Recently, I used a micro SD for my xigmanas. and with a power outage, my system was corrupted, with the config.xml file the system could recover very easily. although I had the data in a raidz1 on different disks.

I don't remember when the installation could define the space.

I currently have the OS in mirror, although I still have the data on different raidz disks and saving the configuration file
Hello Friend!
Yes, I will use one or two 16GB "SanDisk Ultra Fit" pen drive
And see what my experience will be like.
Is there any way for XigmaNAS to email "config.xml" periodically?
12.0.0.4 - Reticulus (revision 6766) | FreeBSD 12.0-RELEASE-p6
x64-full on Intel Xeon 2.33GHz | 4G/Ram
Two 2Tb disks over zraid

isoellias
NewUser
NewUser
Posts: 9
Joined: 24 Jul 2019 15:41
Location: Brasil, RS
Status: Offline

Re: Installation without usb media?

#9

Post by isoellias » 26 Jul 2019 19:14

arghdubya wrote:
26 Jul 2019 01:03
This just doesn't look right at all. (no usual swap partition for one)
I think with your prior attempts, an old zfs partition was picked up and isn't getting cleared (even though the installer tries to clear the drives)
I've run into this myself. I suggest wiping the drives outside of XigmaNAS.
I'd keep it simple and boot any Linux thumbdrive and run a GPT clear and also DD if=/dev/zero the first 100mb or so of the drives.
It's only important to clear the data structures at the very beginning and END of the drives.
or just ... dd zero the whole drives if you're not sure what to do.
Hello friend, thanks for the help.
Truth! There was some trash about the partitions on my first installation. I had also opted not to use swap.
I made the settings on the disks and ran the setup again.

But as I said in the previous post, I will abandon this effort. And I will use removable media.
I remembered that this physical host has an internal speed 2.0 port. That way I can keep the flash drive well hidden.
12.0.0.4 - Reticulus (revision 6766) | FreeBSD 12.0-RELEASE-p6
x64-full on Intel Xeon 2.33GHz | 4G/Ram
Two 2Tb disks over zraid

was-armandh
experienced User
experienced User
Posts: 116
Joined: 19 Nov 2018 11:30
Location: St Louis County MO USA
Status: Offline

Re: Installation without usb media?

#10

Post by was-armandh » 26 Jul 2019 22:53

with small SSDs in the $24 price range
I prefer to keep the OS and swap separate from the data storage drives.
I believe this provides for safer recovery opportunities if needed

most if my installs are accomplished with a [known good] DVD drive hanging out the side of the target hardware
by using this free advise, you, your heirs, etc
absolve, save, and hold harmless the advisor.
CAVEAT EMPTOR
YMMV

isoellias
NewUser
NewUser
Posts: 9
Joined: 24 Jul 2019 15:41
Location: Brasil, RS
Status: Offline

Re: Installation without usb media?

#11

Post by isoellias » 27 Jul 2019 23:46

was-armandh wrote:
26 Jul 2019 22:53
with small SSDs in the $24 price range
I prefer to keep the OS and swap separate from the data storage drives.
I believe this provides for safer recovery opportunities if needed

most if my installs are accomplished with a [known good] DVD drive hanging out the side of the target hardware
Hello Friend!
I completely agree with you that you should use SSD media for more critical purposes and have a safer environment.
However, here in Brazil they are not so cheap.

In one of my installation tests I performed on two SAS hard drives in zfs mirror installation type. At first it was fine, but about 4 days later, during boot showed this message:

Code: Select all

last message repeated 514 times
kernel: ciss0: command status 0x1 (target status) scsi status 0x2
kernel: (da0:ciss0:0:0:0): SYNCHRONIZE CACHE(10) not supported.
kernel: (da0:ciss0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00
kernel: (da0:ciss0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:ciss0:0:0:0): SCSI status: Check Condition
kernel: (da0:ciss0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
kernel: (da0:ciss0:0:0:0): Error 22, Unretryable error
kernel: ciss0: command status 0x1 (target status) scsi status 0x2
kernel: (da1:ciss0:0:1:0): SYNCHRONIZE CACHE(10) not supported.
kernel: (da1:ciss0:0:1:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00
kernel: (da1:ciss0:0:1:0): CAM status: SCSI Status Error
kernel: (da1:ciss0:0:1:0): SCSI status: Check Condition
kernel: (da1:ciss0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
kernel: (da1:ciss0:0:1:0): Error 22, Unretryable error
kernel: atrtc0: providing initial system time
Would this be a problem with SAS disks?
Something similar happened in another pen drive installation. Pen drive problem too?

So using SSDs might be a better way out!
Thankful!
12.0.0.4 - Reticulus (revision 6766) | FreeBSD 12.0-RELEASE-p6
x64-full on Intel Xeon 2.33GHz | 4G/Ram
Two 2Tb disks over zraid

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

Re: Installation without usb media?

#12

Post by raulfg3 » 28 Jul 2019 10:21

isoellias wrote:
27 Jul 2019 23:46

In one of my installation tests I performed on two SAS hard drives in zfs mirror installation type. At first it was fine, but about 4 days later, during boot showed this message:

Code: Select all

last message repeated 514 times
kernel: ciss0: command status 0x1 (target status) scsi status 0x2
kernel: (da0:ciss0:0:0:0): SYNCHRONIZE CACHE(10) not supported.
kernel: (da0:ciss0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00
kernel: (da0:ciss0:0:0:0): CAM status: SCSI Status Error
kernel: (da0:ciss0:0:0:0): SCSI status: Check Condition
kernel: (da0:ciss0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
kernel: (da0:ciss0:0:0:0): Error 22, Unretryable error
kernel: ciss0: command status 0x1 (target status) scsi status 0x2
kernel: (da1:ciss0:0:1:0): SYNCHRONIZE CACHE(10) not supported.
kernel: (da1:ciss0:0:1:0): SYNCHRONIZE CACHE(10). CDB: 35 00 00 00 00 00 00 00 00 00
kernel: (da1:ciss0:0:1:0): CAM status: SCSI Status Error
kernel: (da1:ciss0:0:1:0): SCSI status: Check Condition
kernel: (da1:ciss0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code)
kernel: (da1:ciss0:0:1:0): Error 22, Unretryable error
kernel: atrtc0: providing initial system time
Would this be a problem with SAS disks?
Something similar happened in another pen drive installation. Pen drive problem too?

So using SSDs might be a better way out!
Thankful!

For me is a physical problem, not in disk, in the sata/SAScable or sata/SAS enclosure.

In the past I use a external enclosure to quick plug & unplug Disk = ERROR I have tons of similar errors, finally I use a direct connection between SATA Disk & SATA connector in Motherboard with a good brand SATA Cable and errors dissapears.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

isoellias
NewUser
NewUser
Posts: 9
Joined: 24 Jul 2019 15:41
Location: Brasil, RS
Status: Offline

Re: Installation without usb media?

#13

Post by isoellias » 29 Jul 2019 13:40

Hello,
Yes, grateful for the clarification, now I know these are problems with cables or disks.
Or even a problem with the E200i controller battery.
12.0.0.4 - Reticulus (revision 6766) | FreeBSD 12.0-RELEASE-p6
x64-full on Intel Xeon 2.33GHz | 4G/Ram
Two 2Tb disks over zraid

Post Reply

Return to “Install XigmaNAS”