Yesterday I bought two Western Digital 1.5GB Caviar green. But this are only the drives to start the pool with. To get all my data into the pool using RAIDZ, I need to add the drive to the pool after copying the data from it.
Luckily before starting this I was trying this in the VirtualBox to have all commands ready and not mess up the real data. But it is not possible to expand a RAIDZ:
Sun designed/cares about ZFS in the professional environment. There you don't set up box with only a view drives and add drive after drive. This is only a scenario for the home user. This is only possible with a mirrored
So I will start with the pool with the two 1.5GB drives mirrored. After copying the first two 1GB drives I will add this mirrored to the pool.
Sonntag, September 13, 2009
OpenSolaris and SiI3114 SATA controller
To build a ZFS file server I bought the DeLOCK Controller SATA, 4 Port with Raid 70154. Unfortunately openSolaris didm't see the drives.
Searching the net I found the following links:
What I've got out of this is that the controller will give you problems only if the RAID BIOS is flashed. As this is my lucky day my controller had the RAID BIOS. Got the flash tool and the BIOS from Silicon Image web page. And now the real trouble started - getting a machine to boot DOS.
It should be simple as nowadays you could use Windows to flash a BIOS. At least if you have a Windows machine with a PCI slot.
The first attempt to boot FreeDOS from a CF card failed. My BIOS only supported to boot from a USB CDROM not USB flash. But this I count as luck. In one of the post I found later that he killed one of his cards using FreeDOS.
I think I remember the last time I got MS-DOS it came on a CD-ROM. Found it. Didn't boot - the good old days. Remembering the hassle using a CD-ROM from DOS I decided to use a boot diskette. I still have old PC's for nostalgic reasons - but not with a PCI slot.
So, half I day, after I booted with the new SATA controller for the first time, it works with OpenSolaris. But as you can imagine I was not really delighted.
Searching the net I found the following links:
- Build your own multi-terabyte file server with OpenSolaris and ZFS
- SIL3114 Re: SIL3124 stability?
- use update_drv -a -i ' "pci1095,3114" ' ata to recognise the RAID controller
- using the SiI3114 without problems
- he has data corruption
- also checksum errors - some suggestions to fix this
- solution - change BIOS from RAID to "normal"
- same solution - tip: don't use FreeDOS to flash the BIOS
What I've got out of this is that the controller will give you problems only if the RAID BIOS is flashed. As this is my lucky day my controller had the RAID BIOS. Got the flash tool and the BIOS from Silicon Image web page. And now the real trouble started - getting a machine to boot DOS.
It should be simple as nowadays you could use Windows to flash a BIOS. At least if you have a Windows machine with a PCI slot.
The first attempt to boot FreeDOS from a CF card failed. My BIOS only supported to boot from a USB CDROM not USB flash. But this I count as luck. In one of the post I found later that he killed one of his cards using FreeDOS.
I think I remember the last time I got MS-DOS it came on a CD-ROM. Found it. Didn't boot - the good old days. Remembering the hassle using a CD-ROM from DOS I decided to use a boot diskette. I still have old PC's for nostalgic reasons - but not with a PCI slot.
So, half I day, after I booted with the new SATA controller for the first time, it works with OpenSolaris. But as you can imagine I was not really delighted.
Samstag, August 08, 2009
iMac and MyBook FW800 trouble
I have a WD MyBook connected to my iMac via FW800. If not in use both are disconnected from power via a multiple socket outlet with a switch. If I switch this on a start the Mac the drive is not mounted automatically. Mounting it by hand doesn't work either.
My only solution so far was to unplug the Mac from the power outlet and switch it one. After a view seconds I plugged in the Mac and booted it. With this procedure the MyBook was mounted most of the time.
Searching for a better solution I found this alternative. This is not really simpler as the solution I found, but it helps, if in the case my failed.
No the MyBook will be mounted automatically.
My only solution so far was to unplug the Mac from the power outlet and switch it one. After a view seconds I plugged in the Mac and booted it. With this procedure the MyBook was mounted most of the time.
Searching for a better solution I found this alternative. This is not really simpler as the solution I found, but it helps, if in the case my failed.
- unplug the power cord of the MyBook
- unplug the FW800 cable on one side
- keep the Mac running
- plug in the power of the MyBook
- plug in the FW800 cable
No the MyBook will be mounted automatically.
Samstag, Juli 04, 2009
mpd and ALSA
mpd is also dependant on x11-common. Started to install by hand but gave up and installed it with apt-get and all requested dependencies.
Steps I had to do, to get it this time working:
Steps I had to do, to get it this time working:
- added to bashrc:
export MPD_HOST=127.0.0.1
export MPD_PORT=6600 - copied some test files to /var/lib/mpd/music/
- mpd --create-db
- create a playlist in /var/lib/mpd/playlists
- loaded the playlist and started it - played but no sound
- apt-get install alsa-utils
- used alsamixer to enable pcm
install sshd without X dependencies
The new debian installation is missing a ssh server. The obvious solution with apt-get listed a lot of X dependencies. As X is not installed and I want a more or less minimal system I installed it by hand.
This step required only the blacklists to be installed.
- download the dep package
- the easiest way is to use apt-get with -d to only download the packages. apt-get -d install openssh-server
- install the dep package
- dpkg -i /var/cache/apt/archives/openssh-server...deb
This step required only the blacklists to be installed.
Abonnieren
Posts (Atom)