[OpenIndiana-discuss] Newbie server testing...
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@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@0,0/pci15d9,62f@1d/hub@1/storage@1 Oct 24 12:05:49 clust-2 genunix: [ID 408114 kern.info] /pci@0,0/pci15d9,62f@1d/hub@1/storage@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@0,0/pci15d9,62f@1d/hub@1/storage@1/disk@0,0 Oct 24 12:05:49 clust-2 genunix: [ID 408114 kern.info] /pci@0,0/pci15d9,62f@1d/hub@1/storage@1/disk@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 ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Compiling php...
Hi, I have to compile php and I ran into a few issues now solved, but others still present... I did: untar php 5.3.13 source pkg install gnu-make gcc-43 flex bison autoconf library/icu developer/icu ... export PATH=/usr/gcc/4.3/bin:$PATH Is that normal that I have to manualy add packages binaries to the path? Is it to be able to handle several versions? (cd /usr/include/ && ln -s gmp/gmp.h gmp.h) php is only looking in $PREFIX/include/gmp.h 1. I cannot pass configure without removing mysql support. Where can I find a mysql "development" package? I added sfe repo: pkg set-publisher -p http://pkg.openindiana.org/sfe pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered but I cannot find anything that looks like it... 2. If I remove mysql support, it starts compiling but then: /bin/sh /D/Sources/php.cgi/php-5.3.13/libtool --silent --preserve-dup-deps --mode=link gcc -DPHP_ATOM_INC -I/D/Sources/php.cgi/php-5.3.13/include -I/D/Sources/php.cgi/php-5.3.13/main -I/D/Sources/php.cgi/php-5.3.13 -I/D/Sources/php.cgi/php-5.3.13/ext/date/lib -I/D/Sources/php.cgi/php-5.3.13/ext/ereg/regex -I/usr/include/libxml2 -I/D/P/php.cgi-5.3.13/curl/include -I/D/Sources/php.cgi/php-5.3.13/ext/mbstring/oniguruma -I/D/Sources/php.cgi/php-5.3.13/ext/mbstring/libmbfl -I/D/Sources/php.cgi/php-5.3.13/ext/mbstring/libmbfl/mbfl -I/D/Sources/php.cgi/php-5.3.13/ext/sqlite3/libsqlite -I/usr/include/tidy -I/D/Sources/php.cgi/php-5.3.13/TSRM -I/D/Sources/php.cgi/php-5.3.13/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gmp -fvisibility=hidden -o ext/openssl/openssl.la -export-dynamic -avoid-version -prefer-pic -module -rpath /D/Sources/php.cgi/php-5.3.13/modules ext/openssl/openssl.lo ext/openssl/xp_ssl.lo -lcrypto -lssl -lcrypto ld: fatal: relocation error: R_386_GOTOFF: file ext/openssl/.libs/openssl.o: symbol openssl_module_entry: a GOT relative relocation must reference a local symbol collect2: ld returned 1 exit status make: *** [ext/openssl/openssl.la] Error 1 Any idea what could generate this error? Thx, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] subversion: Cannot negotiate authentication mechanism...
Hi, I am trying to checkout a subversion repo but I get: $ svn co svn://server/... svn: Cannot negotiate authentication mechanism Under linux, I just have to install cyrus-sasl-md5 to fix it... In Openindiana, I did install: # pkginfo -l SFEcyrus-sasl PKGINST: SFEcyrus-sasl NAME: Simple Authentication and Security Layer library CATEGORY: SFE,application ARCH: i386 VERSION: 2.1.25,REV=110.0.4.2012.08.07.20.10 BASEDIR: / VENDOR: http://pkgbuild.sf.net/spec-files-extra DESC: Simple Authentication and Security Layer library INSTDATE: avr. 03 2013 10:52 HOTLINE: Please contact your local service provider STATUS: completely installed Do I need to configure/install something extra? Regards, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Recommendations for fast storage
From: Günther Alka > I would think about the following > - yes, i would build that from SSD > - build the pool from multiple 10 disk Raid-Z2 vdevs, Slightly out of topic but, what is the status of the TRIM command and zfs...? JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Logwatch equivalent...
Hi, is there a logwatch equivalent under openindiana? Or, what do people usually setup to get daily server status by mail? Thx, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Logwatch equivalent...
From: Jerry Kemp > On 04/23/13 09:01 AM, John Doe wrote: >> is there a logwatch equivalent under openindiana? >> Or, what do people usually setup to get daily server status by mail? > Can you explain further? > Did logwatch work for you previously on OpenIndiana, then stop? > Logwatch is written in Perl, and should run on any Unix, or Unix clone > with Perl installed. It "never worked" since I never found the openindiana package (at least by that name). And I did not try yet to install it by hand. Also, I am still unsure to where the usefull logs are. My /var/log almost only contains syslog, which only contains my nagios nrpe logs... nothing else. There is a /var/logadm that contains almost nothing... And I guess if I install logwatch; it won't be able to automagically know what to watch for in openindiana... right? That's why I was looking for a package that knows what to do. Thx, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Logwatch equivalent...
From: Michael Schuster >> Also, I am still unsure to where the usefull logs are. > have a look in /var/adm/ ... In /var/adm/, I have an empty messages; and messages.0 dates back from February... I also have a log subdir, empty. But it is true that, right now, this server does not do much. Maybe that's why most log files look empty... So, if there are no alternatives than to manually install logwatch, I will have to do that. Thx, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Logwatch equivalent...
From: Jim Klimov > ...or servers/services/scripts do their own logging. In the latter case, > crontab logs (/var/cron/log) and SMF logs (/var/svc/log/*) might be of > interest. > But for an automated solution I'd parse syslog setup as well as setups > of log-rotation utilities (if the OS or admin cared to set up certain > logs there, it is likely they exist and may contain useful data). It is a standard new install, zfs pools, plus started: IPMI, NTP, NFS I have the default syslog.conf: *.err;kern.debug;daemon.notice;mail.crit /var/adm/messages mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost) user.err /var/adm/messages I know where the logs are for: - cron => /var/log/cron - inetd / compiled nrpe => /var/log/syslog - packaged Lighttpd + compiled php => own log files I guess the server is too passive to log much stuff right now. Ok, I downloaded the latest logwatch and tried to install it... and I guess badly failed (with such gems as "README installed as /etc/rc2.d/README"): # sh install_logwatch.sh # Preparing to install Logwatch Enter the path to the Logwatch BaseDir [/usr/share/logwatch] : ### Using /usr/share/logwatch Enter the path for the Logwatch ConfigDir [/etc/logwatch] : ### Using /etc/logwatch Enter the dir name to be used for temp files [/var/cache/logwatch] : ### Using /var/cache/logwatch Enter the location of perl [/usr/bin/perl] : ### Using /usr/bin/perl Enter the dir name to used for the manpage [/usr/share/man] : ### Using /usr/share/man ### Installing directory /usr/share/logwatch created directory /usr/share/logwatch/dist.conf created directory /usr/share/logwatch/dist.conf/logfiles created directory /usr/share/logwatch/dist.conf/services created directory /usr/share/logwatch/default.conf created directory /usr/share/logwatch/default.conf/logfiles created directory /usr/share/logwatch/default.conf/services created directory /usr/share/logwatch/default.conf/html created directory /usr/share/logwatch/scripts created directory /usr/share/logwatch/scripts/logfiles created directory /usr/share/logwatch/scripts/services created directory /usr/share/logwatch/scripts/shared created directory /usr/share/logwatch/lib created find: stat() error /usr/share/logwatch/README: No such file or directory README installed as /etc/rc2.d/README find: stat() error /usr/share/logwatch/HOWTO-Customize-LogWatch: No such file or directory find: cycle detected for /lib/32/ find: cycle detected for /lib/crypto/32/ find: cycle detected for /lib/secure/32/ find: cycle detected for /usr/lib/secure/32/ find: cycle detected for /usr/lib/lwp/32/ find: cycle detected for /usr/lib/link_audit/32/ find: cycle detected for /usr/lib/32/ find: cycle detected for /usr/lib/elfedit/32/ install: HOWTO-Customize-LogWatch was not found anywhere! find: cycle detected for /lib/32/ find: cycle detected for /lib/crypto/32/ find: cycle detected for /lib/secure/32/ find: cycle detected for /usr/lib/secure/32/ find: cycle detected for /usr/lib/lwp/32/ find: cycle detected for /usr/lib/link_audit/32/ find: cycle detected for /usr/lib/32/ find: cycle detected for /usr/lib/elfedit/32/ install: ignore.conf was not found anywhere! find: cycle detected for /lib/32/ find: cycle detected for /lib/crypto/32/ find: cycle detected for /lib/secure/32/ find: cycle detected for /usr/lib/secure/32/ find: cycle detected for /usr/lib/lwp/32/ find: cycle detected for /usr/lib/link_audit/32/ find: cycle detected for /usr/lib/32/ find: cycle detected for /usr/lib/elfedit/32/ install: autorpm.conf was not found anywhere! find: cycle detected for /lib/32/ find: cycle detected for /lib/crypto/32/ find: cycle detected for /lib/secure/32/ find: cycle detected for /usr/lib/secure/32/ find: cycle detected for /usr/lib/lwp/32/ find: cycle detected for /usr/lib/link_audit/32/ find: cycle detected for /usr/lib/32/ find: cycle detected for /usr/lib/elfedit/32/ install: afpd.conf was not found anywhere! find: cycle detected for /lib/32/ find: cycle detected for /lib/crypto/32/ find: cycle detected for /lib/secure/32/ find: cycle detected for /usr/lib/secure/32/ find: cycle detected for /usr/lib/lwp/32/ find: cycle detected for /usr/lib/link_audit/32/ find: cycle detected for /usr/lib/32/ find: cycle detected for /usr/lib/elfedit/32/ install: footer.html was not found anywhere! find: stat() error /usr/share/logwatch/scripts/logwatch.pl: No such file or directory find: cycle detected for /lib/32/ find: cycle detected for /lib/crypto/32/ find: cycle detected for /lib/secure/32/ find: cycle detected for /usr/lib/secure/32/ find: cycle detected for /usr/lib/lwp/32/ find: cycle detected for /usr/lib/link_audit/32/ find: cycle detected for /usr/lib/32/ find: cycle detected for /usr/lib/elfedit/32/ install: logwatch.pl was not found anywhere! directory /usr/share/logwatch/scripts/logfiles/autorpm created find: cycle detected for /lib/32/ find: cycle det
Re: [OpenIndiana-discuss] Logwatch equivalent...
From: qutic development > We are using logwatch from OpenCSW [1], which installs fine. > To send a report by email just run: > /opt/csw/bin/logwatch --detail 10 --mailto rep...@example.com Thx, I mixed both install script/Makefile and made my own install script. The main problem from the default script was the default "not GNU compatible" install command. Now, the only thing left is to find out how to send an email to the outside world without getting a "550 relay not permitted"... root is in the trusted-users. Thx, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Logwatch equivalent...
From: Jim Klimov > On 2013-04-25 17:04, John Doe wrote: >> Now, the only thing left is to find out how to send an email to the outside >> world without getting a "550 relay not permitted"... >> root is in the trusted-users. > > What host says that error (i.e. your local host, or some other system > up the stack - for example, an ISP's mail system, including possibly > a transparent proxy to capture and reroute 25/tcp traffic, refusing > to relay root@localhost to internet usernames@domains - i.e. some GSM > cellular internet providers were known to do so)? > You might benefit by setting local domain in the OS, or maybe domain > masquerading in Sendmail, as well as a "SMARTHOST" (DS keyword) in > sendmail to route messages via a particular host. Solved by adding the local hostname to /etc/mail/local-host-names Thx, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] OI on HP ProLiant Microserver Gen8
From: Jim Klimov > Until your mail I did not know they existed, I thought (and was sad) > that HP got stuck at the venerable N40L. Following the links from > pages on Gen8 (alas, specs are too vague to speculate about driver > compatibility) http://h18000.www1.hp.com/products/quickspecs/14565_na/14565_na.pdf I like: the 2 NICs (vs 1 for the G7), good to make a little firewall without having to add an extra network card. I do not like: still no hotplug HDs... when most of the other NAS have it... JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Marvell 88SE91xx installation issues...
Hi, I am trying to instal OI 151a8 (text) on a SuperMicro 0627tr-dtrf with an extra SYBA SD-PEX40044 controller (Marvell 88SE91xx). IN RAID1, the logical drive is detected by the BIOS but not by OI installer (neither the physical drives). In no RAID mode, the 2 drives are detected by the BIOS but OI installer only detects one (c3t1d0). A quick google told me there might be support problems for this chipset... is that the case? Thx, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Marvell 88SE91xx installation issues...
From: Marcel Telka > On Wed, Sep 18, 2013 at 07:44:49AM -0700, John Doe wrote: >> I am trying to instal OI 151a8 (text) on a SuperMicro 0627tr-dtrf with an >> extra SYBA SD-PEX40044 controller (Marvell 88SE91xx). IN RAID1, the > logical >> drive is detected by the BIOS but not by OI installer (neither the physical >> drives). In no RAID mode, the 2 drives are detected by the BIOS but OI >> installer only detects one (c3t1d0). A quick google told me there might be >> support problems for this chipset... is that the case? > > Does "no RAID" means "AHCI"? If so, then (at least) Marvell > 88SE9128 should be > supported in 151a8. > > https://www.illumos.org/issues/3815 > > What exactly is your Marvell controller? > What happens when you run 'cfgadm -lv'? > What is in /var/adm/messages? Yes, AHCI http://www.sybausa.com/productInfo.php?iid=1134 It says: Marvell 88SE9128 The drives in question are 2 PLEXTORS for the rpool. Aside, there are 6 seagates (detected first) for data... messages: Sep 18 18:27:20 openindiana sata: [ID 663010 kern.info] /pci@0,0/pci15d9,62f@1f,2 : Sep 18 18:27:20 openindiana sata: [ID 761595 kern.info] SATA disk device at port 0 Sep 18 18:27:20 openindiana sata: [ID 846691 kern.info] model ST3000DM001-1CH166 Sep 18 18:27:20 openindiana sata: [ID 693010 kern.info] firmware CC27 Sep 18 18:27:20 openindiana sata: [ID 163988 kern.info] serial number Z1F2MK5F Sep 18 18:27:20 openindiana sata: [ID 594940 kern.info] supported features: Sep 18 18:27:20 openindiana sata: [ID 981177 kern.info] 48-bit LBA, DMA, Native Command Queueing, SMART, SMART self-test Sep 18 18:27:20 openindiana sata: [ID 996592 kern.info] SATA Gen3 signaling speed (6.0Gbps) Sep 18 18:27:20 openindiana sata: [ID 349649 kern.info] Supported queue depth 32 Sep 18 18:27:20 openindiana sata: [ID 349649 kern.info] capacity = 5860533168 sectors Sep 18 18:27:20 openindiana scsi: [ID 583861 kern.info] sd1 at ahci0: target 0 lun 0 Sep 18 18:27:20 openindiana genunix: [ID 936769 kern.info] sd1 is /pci@0,0/pci15d9,62f@1f,2/disk@0,0 Sep 18 18:27:20 openindiana genunix: [ID 408114 kern.info] /pci@0,0/pci15d9,62f@1f,2/disk@0,0 (sd1) online Sep 18 18:27:20 openindiana sata: [ID 663010 kern.info] /pci@0,0/pci15d9,62f@1f,2 : Sep 18 18:27:20 openindiana sata: [ID 761595 kern.info] SATA disk device at port 1 Sep 18 18:27:20 openindiana sata: [ID 846691 kern.info] model ST3000DM001-1CH166 Sep 18 18:27:20 openindiana sata: [ID 693010 kern.info] firmware CC27 Sep 18 18:27:20 openindiana sata: [ID 163988 kern.info] serial number Z1F38J8Y Sep 18 18:27:20 openindiana sata: [ID 594940 kern.info] supported features: Sep 18 18:27:20 openindiana sata: [ID 981177 kern.info] 48-bit LBA, DMA, Native Command Queueing, SMART, SMART self-test Sep 18 18:27:20 openindiana sata: [ID 996592 kern.info] SATA Gen3 signaling speed (6.0Gbps) Sep 18 18:27:20 openindiana sata: [ID 349649 kern.info] Supported queue depth 32 Sep 18 18:27:20 openindiana sata: [ID 349649 kern.info] capacity = 5860533168 sectors Sep 18 18:27:20 openindiana scsi: [ID 583861 kern.info] sd2 at ahci0: target 1 lun 0 Sep 18 18:27:20 openindiana genunix: [ID 936769 kern.info] sd2 is /pci@0,0/pci15d9,62f@1f,2/disk@1,0 Sep 18 18:27:20 openindiana genunix: [ID 408114 kern.info] /pci@0,0/pci15d9,62f@1f,2/disk@1,0 (sd2) online Sep 18 18:27:20 openindiana sata: [ID 663010 kern.info] /pci@0,0/pci15d9,62f@1f,2 : Sep 18 18:27:20 openindiana sata: [ID 761595 kern.info] SATA disk device at port 2 Sep 18 18:27:20 openindiana sata: [ID 846691 kern.info] model ST3000DM001-1CH166 Sep 18 18:27:20 openindiana sata: [ID 693010 kern.info] firmware CC27 Sep 18 18:27:20 openindiana sata: [ID 163988 kern.info] serial number Z1F38F6S Sep 18 18:27:20 openindiana sata: [ID 594940 kern.info] supported features: Sep 18 18:27:20 openindiana sata: [ID 981177 kern.info] 48-bit LBA, DMA, Native Command Queueing, SMART, SMART self-test Sep 18 18:27:20 openindiana sata: [ID 996592 kern.info] SATA Gen3 signaling speed (6.0Gbps) Sep 18 18:27:20 openindiana sata: [ID 349649 kern.info] Supported queue depth 32 Sep 18 18:27:20 openindiana sata: [ID 349649 kern.info] capacity = 5860533168 sectors Sep 18 18:27:20 openindiana scsi: [ID 583861 kern.info] sd3 at ahci0: target 2 lun 0 Sep 18 18:27:20 openindiana genunix: [ID 936769 kern.info] sd3 is /pci@0,0/pci15d9,62f@1f,2/disk@2,0 Sep 18 18:27:20 openindiana genunix: [ID 408114 kern.info] /pci@0,0/pci15d9,62f@1f,2/disk@2,0 (sd3) online Sep 18 18:27:20 openindiana sata: [ID 663010 kern.info] /pci@0,0/pci15d9,62f@1f,
Re: [OpenIndiana-discuss] Marvell 88SE91xx installation issues...
From: Marcel Telka > To: Discussion list for OpenIndiana > Cc: > Sent: Wednesday, September 18, 2013 6:36 PM > Subject: Re: [OpenIndiana-discuss] Marvell 88SE91xx installation issues... > > On Wed, Sep 18, 2013 at 08:48:16AM -0700, John Doe wrote: >> From: Marcel Telka >> > On Wed, Sep 18, 2013 at 07:44:49AM -0700, John Doe wrote: >> >> I am trying to instal OI 151a8 (text) on a SuperMicro 0627tr-dtrf > with an >> >> extra SYBA SD-PEX40044 controller (Marvell 88SE91xx). IN RAID1, > the >> > logical >> >> drive is detected by the BIOS but not by OI installer (neither the > physical >> >> drives). In no RAID mode, the 2 drives are detected by the BIOS > but OI >> >> installer only detects one (c3t1d0). A quick google told me there > might be >> >> support problems for this chipset... is that the case? >> > >> > Does "no RAID" means "AHCI"? If so, then (at > least) Marvell >> > 88SE9128 should be >> > supported in 151a8. >> > >> > https://www.illumos.org/issues/3815 >> > >> > What exactly is your Marvell controller? >> > What happens when you run 'cfgadm -lv'? >> > What is in /var/adm/messages? >> >> Yes, AHCI >> http://www.sybausa.com/productInfo.php?iid=1134 >> It says: Marvell 88SE9128 >> >> The drives in question are 2 PLEXTORS for the rpool. >> Aside, there are 6 seagates (detected first) for data... > > I see: MARVELL VIRTUALL. I'd say your 2nd disk is connected to that port. > Unfortunatelly, I had no disk connected there during my tests on 88SE9128 few > months back so I didn't do any testing beyond the detection of MARVELL > VIRTUALL > on the port. To be honest, I've no idea what exactly MARVELL VIRTUALL is and > what needs to be done to make your 2nd disk working. It is possible that some > custom driver needs to be written for MARVELL VIRTUALL... Ok, thank you for the info. In the (very limited) controller BIOS, I see the disks with respective slots 0,1 and IDs 0,8. FYI, I tried linux (CentOS) and it detects the 2 disks. And, since as usual this server needs to be up yesterday, we'll have to go with linux (bye bye zfs)... Thx for your help, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] mount ext2/3
From: PÁSZTOR György > What did I do wrong? > I added the sfe repo: pkg set-publisher -p http://pkg.openindiana.org/sfe > I installed fuse-ext2 package: pkg install fuse-ext2 Not a fuse solution but, some time ago, when I had to read from an ext fs, I used the following: wget http://hub.opensolaris.org/bin/download/Project+ext3/files/SUNWext2fs.pkg.bz2 wget http://hub.opensolaris.org/bin/download/Project+ext3/files/SFEe2fsprogs.pkg.bz2 bunzip2 SUNWext2fs.pkg.bz2 bunzip2 SFEe2fsprogs.pkg.bz2 pfexec pkgadd -d SFEe2fsprogs.pkg SFElibiconv SFEe2fsprogs pfexec pkgadd -d SUNWext2fs.pkg SUNWext2fs mount -F ext2fs /dev/dsk/c4t0d0p1 /mnt JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Infinite updates...
Hi, I have a little issue with updating my OI servers. Each time I do a "pkg update", it (re)downloads and (re)installs the same updates, over and over... - OpenIndiana (powered by illumos) SunOS 5.11 oi_151a7 October 2012 root@s5:~# pkg update WARNING: The boot environment being modified is not the active one. Changes made in the active BE will not be reflected on the next boot. Packages to install: 4 Packages to update: 653 Mediators to change: 1 Create boot environment: Yes Create backup boot environment: No DOWNLOAD PKGS FILES XFER (MB) Completed 657/657 22761/22761 434.6/434.6 PHASE ACTIONS Removal Phase 12697/12697 Install Phase 12926/12926 Update Phase 23070/23070 PHASE ITEMS Package State Update Phase 1310/1310 Package Cache Update Phase 653/653 Image State Update Phase 2/2 A clone of openindiana-1 exists and has been updated and activated. On the next boot the Boot Environment openindiana-10 will be mounted on '/'. Reboot when ready to switch to this updated BE. The following unexpected or editable files and directories were salvaged while executing the requested package operation; they have been moved to the displayed location in the image: var/lib/slocate -> /tmp/tmp9NDUDf/var/pkg/lost+found/var/lib/slocate-20140327T095058Z - If I do another "pkg update", it will redo the whole thing again. The server has been up for 326 days. Is it because I am forced to reboot to activate all the new updates and not just the kernel related ones? Thx, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Infinite updates...
From: Laurent Blume > Yes. It's how IPS/pkg was designed to work: by default, it does not > update the current environment, it creates a new one, and update that > one. So your updates won't be used until you reboot to the new environment. Ah, thanks to both for the confirmation. Coming from linux, I am used to just reboot for kernel updates. And, since I cannot easily reboot, guess updates will have to wait... last question, when I see "Boot Environment openindiana-10"; does that mean I have 10 full "updated environments", each a few GBs, waiting somewhere? Thx, JD ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Replacing an unavailable hd...
Hi, I just got my first failed HD under OI and wanted to be sure I don't crash everything when replacing it... # zpool status -x pool: VOLUME state: DEGRADED status: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Attach the missing device and online it using 'zpool online'. see: http://illumos.org/msg/ZFS-8000-2Q scan: scrub repaired 0 in 0h0m with 0 errors on Fri Jan 25 14:09:17 2013 config: NAME STATE READ WRITE CKSUM VOLUME DEGRADED 0 0 0 raidz2-0 DEGRADED 0 0 0 c5t0d0 ONLINE 0 0 0 c5t1d0 ONLINE 0 0 0 c5t2d0 UNAVAIL 12 20 0 cannot open c5t3d0 ONLINE 0 0 0 c5t4d0 ONLINE 0 0 0 c5t5d0 ONLINE 0 0 0 Do I just need to physicaly replace the HD and then do a: zpool replace VOLUME c5t2d0 or do I need to encapsulate that with some zpool offline/online, "cfgadm -c unconfigure/configure", followed by a "zpool clear"...? Thx, JD ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Replacing an unavailable hd...
From: Jim Klimov > If you are uncertain if the HDD device has really failed, you can also > try to take apart the computer and remove-replug the power and signal > cables, perhaps a few times. This may cleanse them of oxydation and > repair the storage - happened to me dozens of times on both home-made > rigs and brand servers (though rarely on the latter). > > Also, while you're near the box taken apart, you can listen to the > disk if it "squeaks" and vibrates when powered on, or no longer works > mechanically indeed. > > In fact, recently we've had a power outage that rebooted a couple of > old servers who had a dead and unresponsive HDD each (the poor boxes > waited for replacements to be purchased and received), and now the > disks are back online - several scrubs found no problems (that is, > after the initial resilver/scrub which complained a lot due to lots > of stale data). So there was even no mechanical replugging, just a > power cycle. Hum... the server is a bit less than 2 years old, and all disks are plugged on the same back-plane, so I would be surprised if it was a cabling issue. And, since I have spares, I prefer to replace the suspect disk to be safe and test it later... If it is indeed a cabling issue, the new disk will also look failed I guess. If it helps, cfgadm -alv says: sata0/2 disconnected unconfigured failed I did not yet go onsite to witness if there is any red led. Thx, JD ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Replacing an unavailable hd...
I went onsite to replace the disk. zpool offline VOLUME c5t2d0 + unplug old, plug new And nothing happens... There was this in messages: Jun 14 02:30:12 data-4 ahci: [ID 517647 kern.warning] WARNING: ahci0: watchdog port 2 satapkt 0xff06cd8cbc68 timed out Jun 14 02:30:23 data-4 ahci: [ID 860969 kern.warning] WARNING: ahci0: ahci_port_reset port 2 the device hardware has been initialized and the power-up diagnostics failed Jun 14 02:30:24 data-4 sata: [ID 801845 kern.info] /pci@0,0/pci15d9,62f@1f,2: Jun 14 02:30:24 data-4 SATA port 2 error Jun 14 02:30:24 data-4 scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci15d9,62f@1f,2/disk@2,0 (sd3): Jun 14 02:30:24 data-4 SYNCHRONIZE CACHE command failed (5) Jun 14 02:30:25 data-4 sata: [ID 801845 kern.info] /pci@0,0/pci15d9,62f@1f,2: Jun 14 02:30:25 data-4 SATA port 2 error ... I tried: cfgadm -cconnect xxx and get: cfgadm: Insufficient condition Nothing new in /var/adm/messages. cfgadm still says sata0/2 sata-port disconnected unconfigured failed I guess "sata-port" So I guess this sata port is bad (or just disabled?)... And of course, that's one of these servers that must stays on 24h/24... Is there a way to make the kernel try to reinitialize this sata port appart from a reboot? ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Replacing an unavailable hd...
From: John Ryan > On 16/06/2014 3:18 PM, John Doe via openindiana-discuss wrote: >> I tried: >> cfgadm -cconnect xxx and get: >> cfgadm: Insufficient condition >> Nothing new in /var/adm/messages. >> cfgadm still says >> sata0/2 sata-port disconnected unconfigured failed >> I guess "sata-port" >> So I guess this sata port is bad (or just disabled?)... >> And of course, that's one of these servers that must stays on 24h/24... >> Is there a way to make the kernel try to reinitialize this sata port appart > from a reboot? > Try `fmadm faulty` > Then `fmadm repaired ` > Then cfgadm commands It cleared the fault but still: # cfgadm -cconnect sata0/2 cfgadm: Insufficient condition Reboot it will be... Thx, JD ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Replacing an unavailable hd...
From: John Doe via openindiana-discuss > Reboot it will be... And after a reboot, my faithful sata port is back! I did a zpool replace. Now I just need to wait 10 days of re-silvering to see if everything is back to normal... Thx, JD ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss