[OpenIndiana-discuss] Newbie server testing...

John Doe jdmls at yahoo.com
Thu Oct 25 12:05:25 UTC 2012


Hi,


I am a brand new SunOS/OpenIndiana newbie coming from Linux...
I am trying to build a test storage server for some zfs fun.
First, I would like to know if what I did looks ok, and then I ran into 
a little issue.

So, the server has 6 internal 3TB SATA drives (c5txdy),
plus 2 small eSATA external drives (c3txdy).
I installed the server/text version on the 1st external drive.
Then I more or less did the following:
  pkg update
  reboot
  zpool upgrade rpool
  format -e c3t1d0
    fdisk
    label
    format
  prtvtoc /dev/rdsk/c3t0d0p0 | fmthard -s - /dev/rdsk/c3t1d0p0
  zpool attach -f rpool c3t0d0s0 c3t1d0s0
  installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c3t1d0s0
  zpool create VOLUME raidz2 c5t0d0 c5t1d0 c5t2d0 c5t3d0 c5t4d0 c5t5d0
So, I have a RAID1 on the 2 external drives, and a RAID6 on the 6 internal.
Anything wrong or inefficient?
I read about putting zfs logs out of the RAID6, but not sure how...
I think the format part is a bit unclear for me but it worked...

Then, for testing, I needed to put some data from an ext3 usb drive on 
the raidz2... So I had to first install ext2 support:
  pfexec pkgadd -d SFEe2fsprogs.pkg SFElibiconv SFEe2fsprogs
  pfexec pkgadd -d SUNWext2fs.pkg SUNWext2fs
It worked, but the file transfer (rsync -avH) was VERY slow (only 179G in 15 hours)...
From the logs:
Oct 24 12:05:49 clust-2 usba: [ID 912658 kern.info] USB 2.0 device (usb4fc,c15) operating at hi speed (USB 2.x) on USB 2.0 external hub: storage at 1, scsa2usb0 at bus address 5
Oct 24 12:05:49 clust-2 usba: [ID 349649 kern.info]     Sunplus Technology Inc. USB to Serial-ATA bridge ST2000DL00S2H7J90C602099     
Oct 24 12:05:49 clust-2 genunix: [ID 936769 kern.info] scsa2usb0 is /pci at 0,0/pci15d9,62f at 1d/hub at 1/storage at 1
Oct 24 12:05:49 clust-2 genunix: [ID 408114 kern.info] /pci at 0,0/pci15d9,62f at 1d/hub at 1/storage at 1 (scsa2usb0) online
Oct 24 12:05:49 clust-2 scsi: [ID 583861 kern.info] sd0 at scsa2usb0: target 0 lun 0
Oct 24 12:05:49 clust-2 genunix: [ID 936769 kern.info] sd0 is /pci at 0,0/pci15d9,62f at 1d/hub at 1/storage at 1/disk at 0,0
Oct 24 12:05:49 clust-2 genunix: [ID 408114 kern.info] /pci at 0,0/pci15d9,62f at 1d/hub at 1/storage at 1/disk at 0,0 (sd0) online
Oct 24 12:09:58 clust-2 ufs: [ID 717476 kern.notice] NOTICE: mount: not a UFS magic number (0x0)
Oct 24 12:22:07 clust-2 ext2fs: [ID 800345 kern.notice] NOTICE:  info: mount_count=0
Oct 24 12:22:07 clust-2 ext2fs: [ID 854744 kern.notice] NOTICE: Setting ops, name=ext2fs
Oct 24 12:22:07 clust-2 ext2fs: [ID 302322 kern.notice] NOTICE: ext2init end
Oct 24 12:22:07 clust-2 ext2fs: [ID 850434 kern.notice] NOTICE: DATAs_033: 13472722/244203520 files, 487818616/488378000 blocks
Oct 24 12:55:50 clust-2 ext2fs: [ID 118274 kern.notice] NOTICE: ext2_iupdat 2
Oct 24 12:57:00 clust-2 last message repeated 190 times
Oct 24 12:57:24 clust-2 ext2fs: [ID 118274 kern.notice] NOTICE: ext2_iupdat 2
Oct 24 13:03:30 clust-2 last message repeated 940 times
Oct 24 13:04:15 clust-2 ext2fs: [ID 118274 kern.notice] NOTICE: ext2_iupdat 2
Oct 24 13:10:23 clust-2 last message repeated 955 times
Oct 24 13:10:24 clust-2 ext2fs: [ID 118274 kern.notice] NOTICE: ext2_iupdat 2
Oct 24 13:16:25 clust-2 last message repeated 592 times
...
Oct 25 03:03:41 clust-2 ext2fs: [ID 118274 kern.notice] NOTICE: ext2_iupdat 2
Oct 25 03:10:01 clust-2 last message repeated 94 times

And that stops there at 3am because this morning I had been disconnected 
and when I went to the server, there was some kind of "kernel" panic (I 
think related to ext2fs) and it said something about dumping zfs stuff and 
rebooting... but it got stuck there and never rebooted.
I cannot find the panic message... is it written somewhere or only on the 
screen?
Is the ext2fs module stable?

Thx,
JD




More information about the OpenIndiana-discuss mailing list