That is OK then
It looks like the /sda1 & 5 are mounted by fstab (in a very complex way)
You might have trouble untangling them
Sorry about the confusion
EDIT
That is OK then It looks like the /sda1 & 5 are mounted by fstab (in a very complex way) You might have trouble untangling them
I wont be untangeling them, That’s you and Marks job
Graeme
If I’m reading this correctly … nothing from sda is being mounted in fstab at all
where it mentions / being on sda1 aat installation … is now sdb1
(luckily the boot stanzas and fstab are using UUID’s)
How I see it is you installed with a single disk … added another disk (which became sda) … then you set the second HDD as the primary boot device in the BIOS ?
How I see it is you installed with a single disk .. added another disk (which became sda) .. then you set the second HDD as the primary boot device in the BIOS ?
How could i have done that if there is no OMV OS on the second drive , I have to be booting from the first drive don’t I ?
No … not if you set the second HDD as the primary boot device in the BIOS
Otherwise the bootloader would be on the MBR of (what is now) /dev/sda … which it can’t be if that disk wasn’t there during the install.
–
If you changed nothing in the BIOS … my guess is the BIOS is looking for a bootloader on /dev/sda, then when it doesn’t find one it moves on to /dev/sdb finds a bootloader and boots from it … luckily the boot stanza is using UUID’s to identify the partitions, not device names.
are both HDD’s SATA or IDE ?
if IDE … are they on the same ribbon cable or separate ones ?
[EDIT]
OK, ignore that last question … just checked the model numbers … the 10GB is IDE, the 80GB is SATA … the BIOS is obviously set to boot SATA first.
Your best bet would be to boot a livecd … format the 80GB drive how you want it (because it now doesn’t appear to have any partitions).
then reboot without the LiveCD, and if the webUI won’t mount it for you, mount the drive manually in fstab.
–
I think I’ve confused you guys enough so I’ll try my best to clarify how the NAS is set up as best I can,
in the bios
Primary Master: None
Primary Slave: ST380215A (80gb)
Secondary Master: DVDROM
Secondary Slave: ST310212A (10gb)
Boot Order
First Boot Device: CDROM
Second Boot Device: HDD1
Third Boot Device: Floopy
So if it’s booting from HDD1 then it’s booting off the 10gb drive (secondary slave) that I installed it on
OK, ignore that last question .. just checked the model numbers .. the 10GB is IDE, the 80GB is SATA .. the BIOS is obviously set to boot SATA first.
That’s not correct both HDD’s are IDE there are no SATA ports on the motherboard that I can see.
But clearly I’ve done something to the boot drive because now when I start the NAS the boot sequence stops with this message
failed (code8) File system check failed. A log is being saved in /var/log/fsck/checkfs if that location is writable. Please repair the file system manually. ...failed! A maintenance shell will now bw started . CONTROL-D will terminate this shell and resume system boot. ...(warning). give root password for maintence (or type CONTROL-D to continue): flashing cursor
pressing CONTROL-D lets it boot and I can log into the Web GUI as usual but obviously thats no good for a NAS as it has to be headless
My gut feeling here is that I screwed up the installation in the first place by not having an active internet connection because I was too impatient and too lazy to set up an ethernet connection, so why don’t we start from scratch wipe both drives clean and re-install (this time with an internet connection) ?, It’s my own fault and I really don’t mind doing that .
Many Thanks
Graeme
For the sake of sanity … change the jumpers on those 2 drives … so -
10GB = Master
80GB = Slave
And have them both connected at installation.
BTW, there’s probably no need to format and start again.
My guess is the disk check is failing because the 80GB drive no longer contains a partition.
Remove the 80GB … boot … and if it drops you to a maintenance shell run:
fsck /dev/sda1
If that fixes things … you can bung the 80GB back in and format it.
For the sake of sanity .. change the jumpers on those 2 drives .. so -10GB = Master
80GB = Slave
You’re right and it was my intention to do just that.
And have them both connected at installation.
I read in the Openmediavault Wiki to only have one drive installed and to add drives after installation of the operating system, that’s why I did it that way, that and to eliminate any possibility of installing on the wrong drive.
BTW, there's probably no need to format and start again.
Probably not but to be honest I would be happier if I did, that’s if you don’t mind helping me install the USB wireless adaptor again
I have the option of installing the os to a usb drive and booting from that but on some tutorials I’ve read some recommend it and some don’t, if I did it would free up an IDE channel which could be usefull, can you tell me what you’re thoughts are on that ?
Many thanks
Graeme
I can see no reason not to bung it on a USB pendrive IF (and that’s a big if) your system can bot from USB sticks … install it as a “proper” installation though.
Erm … thinking about it, if the system is low on RAM it might be better off on a HDD as heavy use of the swap partition may prematurely wear out a pendrive … ideally you could add other drives through USB with some cheap enclosures (?).
[EDIT]
Unless you already have another large IDE drive … you may be better off getting a SATA controller card which will allow you to add (but probably not boot from) SATA HDD’s
Such as:
http://www.amazon.co.uk/SATA-PCI-int-ports-VT6421a/dp/B000LS4LXS/ref=cm_cr_pr_product_top
PCI SATA controller … 3 X SATA (2 internal, 1 external) and 1 X IDE … so theoretically you could add 5 more drives.
one of the comments says it works out-of-the-box in Ubuntu 12.04 … so I’d expect it to work in Debian too … for £7.50 it aint a biggy if it doesn’t
If:
modinfo sata_via
run on the NAS returs anything, then the driver is present.
I’ve got a VIA VT6421 (not VIA VT6421a) based card and it works perfectly in Ubuntu.
–
What looks like the same card for a fiver:
http://www.amazon.co.uk/Port-SATA-Expansion-VT6421a-chipset/dp/B000S87GG0/ref=pd_cp_ce_0
Or even better (?):
http://www.amazon.co.uk/Neewer-ATA-SATA-PCI-Adapter/dp/B0058M903S/ref=pd_cp_computers_0
Comments specifically mention Debian 6 (and other distros)
Thanks for the advice and the links
At this point I’m only interested in having a look at OMV and seeing how it compares to Freenas Which is partly why I didn’t pay too much attention into the finer details of setting up the drives etc.
From what I’ve seen so far, it’s very similar to Freenas without the BSD eccentricities, so all going well I’ll upgrade it gradually by adding RAM, bigger Hard Drives, SATA controllers etc and then perhaps transfer over to OMV or use it to backup, it’s all a learning curve for me.
So I think I’ll start again, by wiping both drives and re-installing, hopefully if I connect by ethernet I should be able to download all the extra packages necessary during installation from the download mirrors.
I will still want to connect wirelessly because I don’t have any spare ports on my router, so I will likely need your help installing the adaptor if that’s ok.
Anyway I’ll try to get it set up tonight and I’ll let you know how it goes
Many thanks
Graeme
Direct quote (from the comments)
What do you do when you need more ethernet connections, but your router has run out of ports? Simple, buy this. Take a cat5 cable from the back of this into your router and hey presto, you gain some more ports
http://www.amazon.co.uk/NEWLink-Port-Ethernet-Switch-Black/dp/B001GXR1SO
or any cheap “switch” that supports (MDI/MDIX … or has an uplink) will do … such as:
http://www.amazon.co.uk/TP-Link-TL-SF1005D-100Mbps-Unmanaged-Desktop/dp/B000FNFSPY
You’ll get better transfer rates through ethernet … even better through gigabit ethernet … such as:
http://www.amazon.co.uk/Netgear-GS105-5-port-Gigabit-Ethernet/dp/B0000E5SEQ
or
http://www.amazon.co.uk/TP-Link-TL-SG1005D-Gigabit-Unmanaged-Desktop/dp/B000N99BBC
Connect the 3 xboxes and the NAS to that for gigabit transfer … use the last port to connect it to your router … then anything that’s connected to the router will have 10/100 access to the NAS and xboxes … but the xboxes will have gigabit to the NAS and each other…
(and you free up some 10/100 ports on the router)
(Oh, and to take full advantage, you’d need a gigabit ethernet card in the NAS)
I’ll shut up with the obvious options now
–
Thanks again Mark
I will definately consider a network switch whether i get this particular NAS to work or not, in fact it was something I already looked into when I was trying to understand link aggregation (apparently a gigabit switch is needed for link aggregation), I have an old netgear ethernet hub that looks identical to the netgear switch shown here
http://www.amazon.co.uk/Netgear-Prosafe-Ethernet-Unmanaged-Switch/dp/B00009015U/ref=sr_1_18?s=computers&ie=UTF8&qid=1362766215&sr=1-18
But the reason I want to connect wirelessly meantime is location because my router, cable modem & NAS are in my attic but the test NAS is in my study in the room below so although I intend to connect this NAS by ethernet eventually I need wireless meantime for testing purposes
Many thanks
Graeme
Yeh a Gb switch is a great idea … meantime … I’ve no problem with helping set up the wireless again (if necessary)
I’ve added a link to a TP-Link Gb switch above … oh, and the first Netgear wasn’t Gb … so I’ve changed that link too.
There’s a big difference between a hub and a switch … but yeh all the Netgear (little blue metal box) hubs and switches look the same … they’re also elephant proof, like Tonka toys, and the Johnny Seven OMA used to be
–
Ok thanks again
I’m just setting up the drives now and at the moment I have
Primary Master: CDROM
Primary Slave: ST310212A (10gb hdd)
Nothing on the secondary channel yet, I set it that way so I can have a CD ROM installed how does that sound ?
Graeme
Up to you … can’t really see a point to an optical drive … well maybe for running a LiveCD if necessary ?
Up to you .. can't really see a point to an optical drive .. well maybe for running a LiveCD if necessary ?
That and any future re-installation if it ever happens to be necessary
So without any further ado I’ll connect up the ethernet cable and re-install
Graeme
I'm just setting up the drives now and at the moment I havePrimary Master: CDROM
Primary Slave: ST310212A (10gb hdd)
Although not tested, I have seen advice that the likes of slow accress CD-ROM should be on the secondary channel (preferably the slave) to not to impact on access time. This could turn out to be false but I have always set up my OS to be on the Primary Master.
So I would suggest this configuration:
Primary Master 10gb hdd
Primary Slave: 80gb hdd
Secondary Master:
Secondary Slave: CD-ROM