[OpenIndiana-discuss] /hipster-2015: library/lzo package problem
Hi all, I am running system which was upgraded from 151a7 -> 151a9 -> /hipster -> /hipster-2014 -> /hipster-2015 and now I am faced with being unable to get rid of library/lzo package from old sfe repository (http://pkg.openindiana.org/sfe publisher): $ pkg info library/lzo Name: library/lzo Summary: Lossless data compression library Category: System/Libraries State: Installed Publisher: sfe Version: 2.6 Branch: 0.151.1.5 Packaging Date: August 7, 2012 06:15:21 PM Size: 361.69 kB FMRI: pkg://sfe/library/lzo@2.6-0.151.1.5:20120807T181521Z Project Contact: Markus F.X.J. OberhumerProject URL: http://www.oberhumer.com/opensource/lzo/ Source URL: http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz Package has wrong Version number, and: $ pfexec pkg uninstall -vn library/lzo Creating Plan (Solver setup): - pkg uninstall: Unable to remove 'library/lzo@2.6-0.151.1.5' due to the following packages that depend on it: compress/lzop@1.0.3-2014.0.1.0 library/desktop/cairo@1.14.2-2015.0.1.0 E.G: $ pkg contents -m library/desktop/cairo | grep lzo depend fmri=pkg:/library/lzo@2.0.6-2014.1.1.1 type=require $ pfexec pkg install -v pkg:/library/lzo@2.0.6-2014.1.1.1 Creating Plan (Solver setup): \ pkg install: No matching version of library/lzo can be installed: $ pkg search -r pkg:/library/lzo INDEX ACTION VALUE PACKAGE requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/backup/bacula/bacula-sd@5.2.13-2015.0.1.1 requiredepend pkg:/library/lzo@2.0.6-2014.0.1.0 pkg:/compress/lzop@1.0.3-2014.0.1.0 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/library/desktop/cairo@1.14.2-2015.0.1.0 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/backup/bacula/bacula-fd@5.2.13-2015.0.1.1 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/network/openvpn@2.3.8-2015.0.1.0 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/games/openttd@1.5.1-2015.0.1.0 No library/lzo@2.0.6-* package listed? So, my question is: How to replace library/lzo@2.6-0.151.1.5 with library/lzo@2.0.6-2014.1.1.1 package? Best regards. -- Predrag Zečević Technical Support Analyst 2e Systems GmbH Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894 Mobile:+49 174 3109 288, Skype: predrag.zecevic E-mail:predrag.zece...@2e-systems.com Headquarter: 2e Systems GmbH, Königsteiner Str. 87, 65812 Bad Soden am Taunus, Germany Company registration: Amtsgericht Königstein (Germany), HRB 7303 Managing director:Phil Douglas http://www.2e-systems.com/ - Making your business fly! ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] New packaged LibreOffice4
On 10/27/15 10:05 AM, Predrag Zečević - Unix Systems Administrator wrote: On 10/26/15 09:13 AM, Alexander Pyhalov wrote: On 10/26/2015 11:01, Nikola M wrote: Thanks alp, just to check if I understood it right: OI hipster now removed g++ from oi-userland consolidation so that SFE g++ and SFE packages will be working without collisions and g++ is now installed from SFE with it's packages. Instalaltions of SFE g++ happens in place of previously OI hipster-compiled g++ and that is not the issue for OI hipster itself because it does not depend on them? It's not an issue as we don't provide any content in */g++/* packages (besides rename metadata). Question is what happens with current installations and are OI hipster-installed g++ packages replaced by adding SFE repository or some of them get replaced and some don't. Are g++ packages from OI hipster removed from oi-userland of they are still there, but not installed by default, so one installing them can still see collisions if SFE is added to instal external packages? We keep A/g++/B packages in /hipster-2015 repository which are marked renamed and depend on corresponding A/B packages. As libraries are under /usr/lib now, they are picked by applications. But if SFE application depends on later library version, it should use SFE-provided package. I don't know if IPS will fetch it automatically or user will have to add corresponding package to the list of packages to install. Just FYI: change in /hipster-2015 ( https://github.com/OpenIndiana/oi-userland/commit/bd7a4342eab3cb61abee46dc9a9a642a4ea2b1f4 ) is not eanough to install libreoffice4 package... After some strugling, I have anded with this "solution": http://sfe.opencsw.org/newsflash/libreoffice-20151018#comment-41 Best regards. Sorry for terrible mistakes, my thunderbird 31.8.0 doesn't support spell checking. -- Predrag Zečević Technical Support Analyst 2e Systems GmbH Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894 Mobile:+49 174 3109 288, Skype: predrag.zecevic E-mail:predrag.zece...@2e-systems.com Headquarter: 2e Systems GmbH, Königsteiner Str. 87, 65812 Bad Soden am Taunus, Germany Company registration: Amtsgericht Königstein (Germany), HRB 7303 Managing director:Phil Douglas http://www.2e-systems.com/ - Making your business fly! ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] /hipster-2015: library/lzo package problem
On 10/27/2015 11:57, Predrag Zečević - Unix Systems Administrator wrote: Hi all, I am running system which was upgraded from 151a7 -> 151a9 -> /hipster -> /hipster-2014 -> /hipster-2015 and now I am faced with being unable to get rid of library/lzo package from old sfe repository (http://pkg.openindiana.org/sfe publisher): $ pkg info library/lzo Name: library/lzo Summary: Lossless data compression library Category: System/Libraries State: Installed Publisher: sfe Version: 2.6 Branch: 0.151.1.5 Packaging Date: August 7, 2012 06:15:21 PM Size: 361.69 kB FMRI: pkg://sfe/library/lzo@2.6-0.151.1.5:20120807T181521Z Project Contact: Markus F.X.J. OberhumerProject URL: http://www.oberhumer.com/opensource/lzo/ Source URL: http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz Package has wrong Version number, and: $ pfexec pkg uninstall -vn library/lzo Creating Plan (Solver setup): - pkg uninstall: Unable to remove 'library/lzo@2.6-0.151.1.5' due to the following packages that depend on it: compress/lzop@1.0.3-2014.0.1.0 library/desktop/cairo@1.14.2-2015.0.1.0 E.G: $ pkg contents -m library/desktop/cairo | grep lzo depend fmri=pkg:/library/lzo@2.0.6-2014.1.1.1 type=require $ pfexec pkg install -v pkg:/library/lzo@2.0.6-2014.1.1.1 Creating Plan (Solver setup): \ pkg install: No matching version of library/lzo can be installed: $ pkg search -r pkg:/library/lzo INDEX ACTION VALUE PACKAGE requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/backup/bacula/bacula-sd@5.2.13-2015.0.1.1 requiredepend pkg:/library/lzo@2.0.6-2014.0.1.0 pkg:/compress/lzop@1.0.3-2014.0.1.0 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/library/desktop/cairo@1.14.2-2015.0.1.0 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/backup/bacula/bacula-fd@5.2.13-2015.0.1.1 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/network/openvpn@2.3.8-2015.0.1.0 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/games/openttd@1.5.1-2015.0.1.0 No library/lzo@2.0.6-* package listed? So, my question is: How to replace library/lzo@2.6-0.151.1.5 with library/lzo@2.0.6-2014.1.1.1 package? Best regards. Try pkg update "library/lzo@2.0.6-2014.1.1.1" -- Best regards, Alexander Pyhalov, system administrator of Southern Federal University IT department ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] /hipster-2015: library/lzo package problem
On 10/27/15 10:10 AM, Alexander Pyhalov wrote: On 10/27/2015 11:57, Predrag Zečević - Unix Systems Administrator wrote: Hi all, I am running system which was upgraded from 151a7 -> 151a9 -> /hipster -> /hipster-2014 -> /hipster-2015 and now I am faced with being unable to get rid of library/lzo package from old sfe repository (http://pkg.openindiana.org/sfe publisher): $ pkg info library/lzo Name: library/lzo Summary: Lossless data compression library Category: System/Libraries State: Installed Publisher: sfe Version: 2.6 Branch: 0.151.1.5 Packaging Date: August 7, 2012 06:15:21 PM Size: 361.69 kB FMRI: pkg://sfe/library/lzo@2.6-0.151.1.5:20120807T181521Z Project Contact: Markus F.X.J. OberhumerProject URL: http://www.oberhumer.com/opensource/lzo/ Source URL: http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz Package has wrong Version number, and: $ pfexec pkg uninstall -vn library/lzo Creating Plan (Solver setup): - pkg uninstall: Unable to remove 'library/lzo@2.6-0.151.1.5' due to the following packages that depend on it: compress/lzop@1.0.3-2014.0.1.0 library/desktop/cairo@1.14.2-2015.0.1.0 E.G: $ pkg contents -m library/desktop/cairo | grep lzo depend fmri=pkg:/library/lzo@2.0.6-2014.1.1.1 type=require $ pfexec pkg install -v pkg:/library/lzo@2.0.6-2014.1.1.1 Creating Plan (Solver setup): \ pkg install: No matching version of library/lzo can be installed: $ pkg search -r pkg:/library/lzo INDEX ACTION VALUE PACKAGE requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/backup/bacula/bacula-sd@5.2.13-2015.0.1.1 requiredepend pkg:/library/lzo@2.0.6-2014.0.1.0 pkg:/compress/lzop@1.0.3-2014.0.1.0 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/library/desktop/cairo@1.14.2-2015.0.1.0 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/backup/bacula/bacula-fd@5.2.13-2015.0.1.1 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/network/openvpn@2.3.8-2015.0.1.0 requiredepend pkg:/library/lzo@2.0.6-2014.1.1.1 pkg:/games/openttd@1.5.1-2015.0.1.0 No library/lzo@2.0.6-* package listed? So, my question is: How to replace library/lzo@2.6-0.151.1.5 with library/lzo@2.0.6-2014.1.1.1 package? Best regards. Try pkg update "library/lzo@2.0.6-2014.1.1.1" Hi Alexander, yes that has worked... Thanks! I should get to this solution myself... Best regards. -- Predrag Zečević Technical Support Analyst 2e Systems GmbH Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894 Mobile:+49 174 3109 288, Skype: predrag.zecevic E-mail:predrag.zece...@2e-systems.com Headquarter: 2e Systems GmbH, Königsteiner Str. 87, 65812 Bad Soden am Taunus, Germany Company registration: Amtsgericht Königstein (Germany), HRB 7303 Managing director:Phil Douglas http://www.2e-systems.com/ - Making your business fly! ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] New packaged LibreOffice4
On 10/26/15 09:13 AM, Alexander Pyhalov wrote: On 10/26/2015 11:01, Nikola M wrote: Thanks alp, just to check if I understood it right: OI hipster now removed g++ from oi-userland consolidation so that SFE g++ and SFE packages will be working without collisions and g++ is now installed from SFE with it's packages. Instalaltions of SFE g++ happens in place of previously OI hipster-compiled g++ and that is not the issue for OI hipster itself because it does not depend on them? It's not an issue as we don't provide any content in */g++/* packages (besides rename metadata). Question is what happens with current installations and are OI hipster-installed g++ packages replaced by adding SFE repository or some of them get replaced and some don't. Are g++ packages from OI hipster removed from oi-userland of they are still there, but not installed by default, so one installing them can still see collisions if SFE is added to instal external packages? We keep A/g++/B packages in /hipster-2015 repository which are marked renamed and depend on corresponding A/B packages. As libraries are under /usr/lib now, they are picked by applications. But if SFE application depends on later library version, it should use SFE-provided package. I don't know if IPS will fetch it automatically or user will have to add corresponding package to the list of packages to install. Just FYI: change in /hipster-2015 ( https://github.com/OpenIndiana/oi-userland/commit/bd7a4342eab3cb61abee46dc9a9a642a4ea2b1f4 ) is not eanough to install libreoffice4 package... After some strugling, I have anded with this "solution": http://sfe.opencsw.org/newsflash/libreoffice-20151018#comment-41 Best regards. -- Predrag Zečević Technical Support Analyst 2e Systems GmbH Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894 Mobile:+49 174 3109 288, Skype: predrag.zecevic E-mail:predrag.zece...@2e-systems.com Headquarter: 2e Systems GmbH, Königsteiner Str. 87, 65812 Bad Soden am Taunus, Germany Company registration: Amtsgericht Königstein (Germany), HRB 7303 Managing director:Phil Douglas http://www.2e-systems.com/ - Making your business fly! ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Network Monitor 2.28.2 and IPv6
Hi, I had Network Monitor enabled so that it would report on network traffic on my e1000g1 interface but it only reports the IPv4 network details only. Given that e1000g1 is dual stack, is there a version of Network Monitor which supports IPv6 addresses? Regards Russell ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] [HEADS UP] Updating from /dev to /hipster-2015 is now can be possible
On Tue, 27 Oct 2015, Alexander Pyhalov wrote: I've checked that at least I can update default OI /dev text installation For those who normally log into a graphical desktop, can this procedure be followed from the graphical desktop or is it necessary to reduce the init level (e.g. to 2) so there is a minimum of stuff running? Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Does the latest OI version allow ashift=12 for zpool creation?
I admit I haven't been on this forum for years, such is the reliability of my OI 148 server built in 2011. I'm using 3 x 2 TB WD2002FAEX 512-byte sector disks for a ZFS RAIDz1 pool in this and about a year ago, one of these disks failed - I tried fitting a more recent WD2002 disk with 4k sectors but zpool replace complained about the sector mismatch and in the end I had to find another WD2002FAEX (and it was quite expensive too). This server is now free to be rebuilt so I upgraded it today to OI 151a9 but the latest zpool doesn't seem to offer the option to set the ashift value. I wondered if I installed the latest OI from DVD, destroying the original pool, would zpool default to using ashift=12? This would allow me to use both 512 and 4096 byte sectors in vdevs. Andy ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Does the latest OI version allow ashift=12 for zpool creation?
If your new drives are misrepresenting their sector size you can override the sector size, thanks to george wilson, in sd.conf. this is common for SSDs. http://wiki.illumos.org/display/illumos/List+of+sd-config-list+entries+for+Advanced-Format+drives You can gather the data for the identifying text from iostat -En or format -> select disk -> inquiry once the zpool created you can verify with zdb -vv |grep ashfit j. On 10/27/15 11:17 AM, andy thomas wrote: I admit I haven't been on this forum for years, such is the reliability of my OI 148 server built in 2011. I'm using 3 x 2 TB WD2002FAEX 512-byte sector disks for a ZFS RAIDz1 pool in this and about a year ago, one of these disks failed - I tried fitting a more recent WD2002 disk with 4k sectors but zpool replace complained about the sector mismatch and in the end I had to find another WD2002FAEX (and it was quite expensive too). This server is now free to be rebuilt so I upgraded it today to OI 151a9 but the latest zpool doesn't seem to offer the option to set the ashift value. I wondered if I installed the latest OI from DVD, destroying the original pool, would zpool default to using ashift=12? This would allow me to use both 512 and 4096 byte sectors in vdevs. Andy ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] [HEADS UP] Updating from /dev to /hipster-2015 is now can be possible
Bob Friesenhahn писал 27.10.2015 21:19: On Tue, 27 Oct 2015, Alexander Pyhalov wrote: I've checked that at least I can update default OI /dev text installation For those who normally log into a graphical desktop, can this procedure be followed from the graphical desktop or is it necessary to reduce the init level (e.g. to 2) so there is a minimum of stuff running? I think this can be done into graphical desktop - in any case you should operate on alternative BE. --- System Administrator of Southern Federal University Computer Center ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Broken zpool
I don't have a backup. I can't afford the gear to back up terabytes of data, which is why I had the zpool on mirrored disks to begin with. Rainer On 27/10/2015 12:30 PM, jason matthews wrote: You may want to consider restoring from backup. j. On 10/27/15 7:00 AM, Rainer Heilke wrote: Greetings. Some of you may remember that I had a couple disk failures recently. One of those disk was the mirror for all of my critical data. The problem is that, no matter what I do, I cannot get the data zpool functioning: OpenIndiana (powered by illumos)SunOS 5.11oi_151a9May 2015 rheilke@eris:~$ zpool status -v data pool: data state: DEGRADED status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the resilver to complete. scan: resilver in progress since Sun Oct 25 02:03:37 2015 602G scanned out of 1.66T at 601K/s, 530h45m to go 601G resilvered, 35.47% done config: NAME STATE READ WRITE CKSUM data DEGRADED 1 0 0 mirror-0 DEGRADED 4 0 0 7152018192933189428 UNAVAIL 0 0 0 was /dev/dsk/c11t8d1s0 c6d0 ONLINE 0 0 4 (resilvering) c7d1 ONLINE 0 0 4 (resilvering) errors: List of errors unavailable (insufficient privileges) If I sudo the command with -v, it shows 3 or 4 erroros, and freezes. rheilke@eris:~$ sudo zpool detach data c11t8d1 cannot detach c11t8d1: pool I/O is currently suspended rheilke@eris:~$ zpool offline data c11t8d1 cannot offline c11t8d1: pool I/O is currently suspended Note that the resilver is going nowhere. I even attached c7d0, so that I could dettatch c11t8d1 without getting the "Not enough mirrors" message, and now I can't detach either of them, getting the same I/O suspended error. This was after I tried to run the replace subcommand, getting the same error and nothing happening. No matter what I do, I get this I/O suspended. I _really_ need to get at my data. I deliberately used a ZFS mirror so that I could still get at my data, even if a HHD failed. But I can't. I can't even see my data when only c6d0 and /rpool are connected, and all other drives disconnected from the system. Does anyone have any ideas? Rainer ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss -- Put your makeup on and fix your hair up pretty, And meet me tonight in Atlantic City Bruce Springsteen ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Broken zpool
You may want to consider restoring from backup. j. On 10/27/15 7:00 AM, Rainer Heilke wrote: Greetings. Some of you may remember that I had a couple disk failures recently. One of those disk was the mirror for all of my critical data. The problem is that, no matter what I do, I cannot get the data zpool functioning: OpenIndiana (powered by illumos)SunOS 5.11oi_151a9May 2015 rheilke@eris:~$ zpool status -v data pool: data state: DEGRADED status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the resilver to complete. scan: resilver in progress since Sun Oct 25 02:03:37 2015 602G scanned out of 1.66T at 601K/s, 530h45m to go 601G resilvered, 35.47% done config: NAME STATE READ WRITE CKSUM data DEGRADED 1 0 0 mirror-0 DEGRADED 4 0 0 7152018192933189428 UNAVAIL 0 0 0 was /dev/dsk/c11t8d1s0 c6d0 ONLINE 0 0 4 (resilvering) c7d1 ONLINE 0 0 4 (resilvering) errors: List of errors unavailable (insufficient privileges) If I sudo the command with -v, it shows 3 or 4 erroros, and freezes. rheilke@eris:~$ sudo zpool detach data c11t8d1 cannot detach c11t8d1: pool I/O is currently suspended rheilke@eris:~$ zpool offline data c11t8d1 cannot offline c11t8d1: pool I/O is currently suspended Note that the resilver is going nowhere. I even attached c7d0, so that I could dettatch c11t8d1 without getting the "Not enough mirrors" message, and now I can't detach either of them, getting the same I/O suspended error. This was after I tried to run the replace subcommand, getting the same error and nothing happening. No matter what I do, I get this I/O suspended. I _really_ need to get at my data. I deliberately used a ZFS mirror so that I could still get at my data, even if a HHD failed. But I can't. I can't even see my data when only c6d0 and /rpool are connected, and all other drives disconnected from the system. Does anyone have any ideas? Rainer ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Broken zpool
If I had a nickel for every time someone told me, "I don't have a backup." I am just going to go on a generalized rant... and then return to next steps. This is probably not the appropriate time, given your state of mind is not likely accepting this sort of advice at this point in time, to remind you that mirrors and backups serve two different purposes and are not equivalent things. This is a difficult lesson for some to learn. You are one of the some. I am not trying to be a dick (it happens naturally), but if you cant afford to backup terabytes of data, then you cant afford to have terabytes of data. Consider a strategy where you backup things important to you and gamble on the rest. I use cheap SATA disks at home too. I use big ass 6TB WD drives that I dont trust. Because I dont trust them they are in 3-way mirrors. I also have a backup pool that I back them up too. This is just good stewardship of data you want to keep. People who buy giant ass disks and then complain about how long it takes to resilver a giant ass disk are out of their minds. They remind me of morons that buy houses next airports and then complain about the noise of airplanes. I have no idea what happened to your system for you to loose three disks simultaneously. There is about a one in a ten billion chance of that happening on the same day unless your controller card or cables are bad, you lost your cmos settings and then compounded it by doing something stupid. I just dont see you recovering from this scenario where you have two bad drives trying to resilver from each other. WWJD - what would Jason do? Here is what I would do, if this were my system. You should see if anyone else has a better idea. If you are at all concerned about losing data first use dd to backup your messed up zfs disks to new drives. use the new drives in the system and perform the following operations. If you are willing to wing it like me you can skip the backup. Be advised, the system is in this mess because you skipped the back up :-) Ironic, right? One likely has access to some of the files as the pool is marked DEGRADED and not FAILED for reasons I dont understand. - zpool status -v data -- the files listed from the output of this command are toast. they are bogging the system down. if it were my data, i would delete them. say what? yes delete them. The system cant recover them, they cant be snapshot'd, they are just in your way. For purposes of recovering files on the live filesystem you dont need to delete existing corrupted snapshots. If you dont want to delete these corrupted files, then you need to find a way to exclude them from your backup process (rsync --exclude=) -- the surviving files are going to have to be copied to new target media. once the corrupted files are deleted standard file tools like tar and cpio can be used to copy to the new target smoothly. It might be possible to get snapshot/send/recv working again by deleting all the snapshots with corrupted blocks so that the zpool is clean of corruption. Be advised, there maybe something on one of those snapshots you may want to keep. - i was going to stay stop the resilver, but that might detach the mirrors and that could be a bad thing(tm). Instead, you might want to consider tuning the resilver so it goes really slow (in terms of I/O per second), obviously it is going slowly in Mb/s :-) that's what I would do. Your level of comfort and skill level should should be governing factors. You may wish to seek professional help. That's what I would do. Your mileage may vary. j. ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Broken zpool
On 27/10/2015 4:48 PM, jason matthews wrote: This is probably not the appropriate time, given your state of mind is not likely accepting this sort of advice at this point in time, to remind you that mirrors and backups serve two different purposes and are not equivalent things. I know this, thank you. Not being able to afford a proper backup solution, I went the mirroring route to at least give me some security. I am not trying to be a dick (it happens naturally), but if you cant afford to backup terabytes of data, then you cant afford to have terabytes of data. That is a meaningless statement, that reflects nothing in real-world terms. Because I dont trust them they are in 3-way mirrors. I also have a backup pool that I back them up too. It must be nice to have the money for this. Ever hear of a fixed income? This is just good stewardship of data you want to keep. That's an arrogant statement, presuming that if a person doesn't have gobs of money, they shouldn't bother with computers at all. People who buy giant ass disks and then complain about how long it takes to resilver a giant ass disk are out of their minds. I am not complaining about the time it takes; I know full well how long it can take. I am complaining that the "resilvering" stops dead. (More on this below.) I have no idea what happened to your system for you to loose three disks simultaneously. This was covered in a thread ages ago; the tech took days to find the problem, which was a CMOS battery that was on Death's door. you lost your cmos settings and then compounded it by doing something stupid. So, rebooting a system is now considered "stupid?" I just dont see you recovering from this scenario where you have two bad drives trying to resilver from each other. They aren't trying to resilver from each other. The dead disk is gone. The good disk is trying to resilver from the ether. Or some such. (Itself?) I added a third drive to the mirror in a vain attempt to get past the error saying there weren't enough remaining mirrors when I tried to zpool detach the now non-existent drive. Again, what is IT trying to resilver from? The same Twilight Zone the first disk is trying to resilver from? If you are at all concerned about losing data first use dd to backup your messed up zfs disks to new drives. use the new drives in the system and perform the following operations. If you are willing to wing it like me you can skip the backup. Be advised, the system is in this mess because you skipped the back up :-) Ironic, right? Actually, no. The system is in this state because ZFS keeps freezing the I/O of the pool, not letting me clear up the issues. The DATA is inaccessible due to the lack of backups. If we are being pedantic, we must be consistently so. :-) One likely has access to some of the files as the pool is marked DEGRADED and not FAILED for reasons I dont understand. It seems to think that the one disk is fine, but the data isn't. ZFS is then locking the pool's I/O, not letting me clear up the damaged files (nor the pool). It's like there's a trapped loop between two parts of the ZFS code, but I refuse to believe Cantrill (and the many programmers since) didn't see this kind of problem. - zpool status -v data -- the files listed from the output of this command are toast. they are bogging the system down. if it were my data, i would delete them. say what? yes delete them. I'm more than willing to sacrifice some files, if that lets me get at the rest. But when I try to delete a file, the terminal freezes up again (though, like some other actions tried earlier, it doesn't give me the "I/O suspended" message). - i was going to stay stop the resilver, but that might detach the mirrors and that could be a bad thing(tm). Instead, you might want to consider tuning the resilver so it goes really slow (in terms of I/O per second), obviously it is going slowly in Mb/s :-) The system isn't letting me do _anything_ with this pool's data, silvering, tuning, scrubbing,... Nothing. I think I'll try the dd route. That should operate below the ZFS (file system) level, and maybe give me a chance. One thing I can't figure out is why the one disk is being listed as: 7152018192933189428 Isn't that the WNN (if I remember correctly; it's been a while)? Or is this just the "unique identifier" mentioned in the zpool man page? Rainer -- Put your makeup on and fix your hair up pretty, And meet me tonight in Atlantic City Bruce Springsteen ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] [HEADS UP] Updating from /dev to /hipster-2015 is now can be possible
Hello. Note to all OpenIndiana Hipster users: 0.151.1.8* package versions were replaced by 2013.0.0.0 versions, so ensure that pkg list |grep '0\.151\.1\.' output is empty after update (if you use only /hipster-2015 and /hipster-encumbered repositories). All *-2013.0.0.0 packages were not recompiled, only version numbers were changed. Yes, thanks to the work of Hans Rosenfeld (Woodstock), now you can try updating OpenIndiana /dev installations to /hipster-2015. I specially say 'can try' as we have removed principal obstacles, but there can be rough edges. First of all, note, that we have replaced most of the Studio-compiled C++ libraries with GCC-compiled (if some are still here, it's not a feature, but a bug). So, if your C++ applications used something besides system/library/c++/sunpro, it will not work without recompilation. Second, some packages can be present in /dev, but not in /hipster. Such packages should be uninstalled (or added to oi-userland, if you need them). Now, if you are brave enough, you can try to update your system. 0) Create backup. Really. 1) Uninstall all packages from opensolaris.org publisher 2) pkg set-publisher -g http://pkg.openindiana.org/hipster-2015 -G http://pkg.openindiana.org/dev openindiana.org 3) pkg unset-publisher opensolaris.org 4) pkg refresh --full 5) pkg update --be-name oi-hipster -nv 2>&1|less - look how it is going to work 6) pkg update --be-name oi-hipster -v 7) boot new BE and check that you don't have packages with '*0.151.1.*' branch versions installed (check that pkg list |grep '0\.151\.1\.' output is empty) 8) ensure that you have userland incorporation and entire installed: pkg install userland-incorporation entire@0.5.11-2015.0.2.1 I've checked that at least I can update default OI /dev text installation -- Best regards, Alexander Pyhalov, system administrator of Southern Federal University IT department ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] Broken zpool
Greetings. Some of you may remember that I had a couple disk failures recently. One of those disk was the mirror for all of my critical data. The problem is that, no matter what I do, I cannot get the data zpool functioning: OpenIndiana (powered by illumos)SunOS 5.11oi_151a9May 2015 rheilke@eris:~$ zpool status -v data pool: data state: DEGRADED status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the resilver to complete. scan: resilver in progress since Sun Oct 25 02:03:37 2015 602G scanned out of 1.66T at 601K/s, 530h45m to go 601G resilvered, 35.47% done config: NAME STATE READ WRITE CKSUM data DEGRADED 1 0 0 mirror-0 DEGRADED 4 0 0 7152018192933189428 UNAVAIL 0 0 0 was /dev/dsk/c11t8d1s0 c6d0 ONLINE 0 0 4 (resilvering) c7d1 ONLINE 0 0 4 (resilvering) errors: List of errors unavailable (insufficient privileges) If I sudo the command with -v, it shows 3 or 4 erroros, and freezes. rheilke@eris:~$ sudo zpool detach data c11t8d1 cannot detach c11t8d1: pool I/O is currently suspended rheilke@eris:~$ zpool offline data c11t8d1 cannot offline c11t8d1: pool I/O is currently suspended Note that the resilver is going nowhere. I even attached c7d0, so that I could dettatch c11t8d1 without getting the "Not enough mirrors" message, and now I can't detach either of them, getting the same I/O suspended error. This was after I tried to run the replace subcommand, getting the same error and nothing happening. No matter what I do, I get this I/O suspended. I _really_ need to get at my data. I deliberately used a ZFS mirror so that I could still get at my data, even if a HHD failed. But I can't. I can't even see my data when only c6d0 and /rpool are connected, and all other drives disconnected from the system. Does anyone have any ideas? Rainer -- Put your makeup on and fix your hair up pretty, And meet me tonight in Atlantic City Bruce Springsteen ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] New packaged LibreOffice4
Nikola, could you please be a bit more specific about "save problems" with the libreoffice from SFE? It works for Libreoffice on other installations. As both issued SFE package versions for libreoffice can save odt files on my systems, I'm wondering what is going. I test basic functionality like open / save / print preview before pushing the packages to the public repo. If you please could provide debug output from libreoffice, e.g. if you start from a terminal, is something printed on the xterm at the time the save fails? Or is a core dump written which could be inspected closer. Regards, Thomas On Sat, Oct 24, 2015 at 11:53:27AM +0200, Nikola M wrote: > That package should not be put in public repo because as zou discovered it > doesn't install well regular way, but with issuing exact full package name > it installs, but only for testing before release. > > Butw when installed it has same problem as OpenOffice in O:, doesn't save > .odt files but LibreO dies and OpenOffice does not die. > > SFE is separate project from OI / OI hipster but somplementary SFE OI > hipster repo is welcomed and I am happy to have it. > ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss