Re: [OpenIndiana-discuss] weird packet garbling problem
Thanks Jim! I've seen similar behavior to what Ed described on a Solaris 10 Sparc box (V445) that is in a remote office. I'll try that setting and see if it resolves my issue. I was VNCing in to an OI box in my office from my laptop via VPN and sshing in to the V445 box to kick off some backup scripts (which take a long time to run, due to the slow link to this office). Oddly enough I never had any issues with the automounter or nfs share I was backing up the V445 to. One issue was with the ssh connection between my OI desktop and the V445 dropping out (note there is very little text output in my backup script) after an hour or two. My other issue was having the VNC drop out between my laptop and desktop. It was setup as a persistent session, so no big deal, just annoying. I think the V445 interfaces are bge and the OI desktop is e1000g. Jake ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] auto-snapshot replicate problems
I had issues using the auto-snapshots for syncing. I actually was just sending regular snapshots from my OI laptop to my OI server. I wrote a little perl script that might do what you need. The basic concepts I use are to 1) Use a unique snapshot prefix for my backup snapshots 2) Only keep one backup snapshot on my laptop at any time 3) If the snapshot is missing anywhere, resend the whole filesystem My script is a perl script, but below is a walk through of the zfs commands I used. The script is run from the sending machine. I gave up on using the auto-snapshots for this once I realized that I couldn't reliably predict when snapshots got cleaned up and especially when auto-snapshots failed to be created. I still use auto-snapshots for its original purpose, to take frequent local snapshots. The local snapshots don't interfere with my backup snapshots and vice versa. Basic logic is below: # Loop through all of my zfs filesystems zfs list -o name | while read zfspart # Create a new snapshot on my laptop to send over to my server zfs snapshot ${zfspart}@backup-${timestamp} #store the name of the new snapshot in $zfssnap # Get the latest snapshot on my server for this filesystem zfssnapold=`ssh $host /usr/sbin/zfs list -Ho name -t snapshot | grep backup/laptop/$zfspart\@backup- | sort | tail -1 ` #Check that the latest snapshot matches the earliest snapshot on my laptop #if they match then send an incremental backup and then delete the old local snapshot zfs send -i $zfssnapold $zfssnap | ssh -C $host pfexec /usr/sbin/zfs recv -F backup/laptop/$zfspart zfs destroy $zfssnapold #if they don't match and there is no local snapshot (but there is one on the server); delete the remote snapshot and send the whole filesystem ssh $host pfexec /usr/sbin/zfs destroy backup/laptop/$zfssnapold zfs send $zfssnap | ssh -C $host pfexec /usr/sbin/zfs recv -F backup/laptop/$zfspart #if there is no snapshot on the server, then just send the whole filesystem zfs send $zfssnap | ssh -C $host /usr/sbin/zfs recv -F backup/laptop/$zfspart Best of luck John! Jake On Mon, Mar 26, 2012 at 10:37 AM, John McEntee jmcen...@stirling-dynamics.com wrote: Just reply just in-case someone else comes across this post. Altering the time-slider daemon would be tricky, but writing my own with a crontab would still take some time to replicate all the features I would like (clearing up old snapshots etc.) As the auto-replicate script is use ( any other script would be the same) needs to know the last destination snapshot and the current sending snapshot. I have implemented a simple zfs hold and zfs release to lock the last snapshot sent (tag of destination hostname) and release the previous one. John -Original Message- From: Milan Jurik [mailto:milan.ju...@xylab.cz] Sent: 14 March 2012 11:01 To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] auto-snapshot replicate problems Hi, I think time-slider daemon is in JDS consolidation. But the question is - why do you want to hack it and maintain own hack? Why not to create zfs snapshots by own crontab entry? Best regards, Milan On 14.03.2012 12:38, John McEntee wrote: I have a problem trying to keep a second fileserver in sync with the primary one. I have a script (auto-replicate) that I have slightly altered that basically checks the latest snapshot of the both master server and the dr server. It then does a send -I if there is a difference. This used to work fine in the old versions of the time-slider service. The problem I have is the later version of the time-slider service in OpenIndiana cleans up old snapshots of zero size, which means the latest snapshot on the dr server no longer exists on the master server so the send -I fails. My fix would be to hack the time-slider service to not clean up the zero size snapshots. Please can anyone point me in the right direction? I cannot even find the code at the moment. I would also be interested in any other solutions Thanks John ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ The contents of this e-mail and any attachment(s) are strictly confidential and are solely for the person(s) at the e-mail address(es) above. If you are not an addressee, you may not disclose, distribute, copy or use this e-mail, and we request that you send an e-mail to ad...@stirling-dynamics.com and delete this e-mail. Stirling Dynamics Ltd. accepts no legal liability for the contents of this e-mail including any errors, interception or interference, as internet communications are not secure. Any views or opinions presented are solely those of the author and do not necessarily represent those of Stirling
Re: [OpenIndiana-discuss] USB wireless network...
Hi All, I've got OI 151 installed on a laptop, but no NIC or wireless drivers. I want to purchase a USB wireless... and saw a mention of linksys wusbf54g, but that device is pretty obsolete at this point. Anyone have a recommendation for a more current model that will have a driver? I have a LinkSys WUSB54GC that works out of the box on a new installation of oi-151. It's not exactly recent, but I think any of the Linksys AE should work. I haven't had any luck with a Linksys AE1000. There is no driver built into oi-151a for it. I've tried the run driver which seems to be pretty close to working. See http://homepage2.nifty.com/mrym3/taiyodo/eng/ I recompiled version 0.8.5 and installed it. Added my driver alias: update_drv -a -i 'usb13b1,2f' run ... but the microcode fails to load when I plug in the usb stick. I have been meaning to contact the driver author Masa, to see if we can figure it out, but I've been too busy. Jake ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] [illumos-Discuss] branding for illumos/openindiana
On Tue, Jun 21, 2011 at 12:26 PM, Ken Gunderson kgund...@teamcool.netwrote: On Mon, 2011-06-20 at 21:11 -0400, Jake wrote: I totally agree. OpenIndiana describes the distro quite well, since it is the opensource bits of the Solaris Indiana release; but the reference is totally lost to anyone not familiar with what OpenSolaris was. I think a Sun reference would be fitting. Why? The Sun has set some time ago. There's nothing to see here now. Time to move along, move along. Perhaps you're thinking that a reference to Sun obscure enough to avoid a lawsuit would in some way be attractive to business. I think the opposite - anyone who's been around for a while has their Oracle horror story so why would we want to associate. And by Oracle, I'm referencing the corporate entity, not contributing individuals who happen to be employed by same. -- Regards-- Ken Gunderson One of the biggest appeals of OI/Illumos to me is that it is a continuation of the legacy of Sun Solaris' high standards of engineering excellence. My personal view of the open sourcing of Solaris 11 is that someone in Sun wanted to make sure that the OS that had so much invested in it would have an opportunity to continue to flourish. Things weren't going so well for Sun back in 2005, it was pretty clear that if the Sun hardware wasn't going to make enough money, the OS development would be impacted severely. The roots of Solaris go back to the beginning of Not that Sun was such a great company, but there were a lot of fantastic developers there. Anyone I talked to that knew the kernel development teams, said something along the lines of they're the smartest people I know. Sun incubated that talent and tried to make its money from hardware sales. There are still a lot of fantastic people that stayed on when Oracle took over. What is scaring everyone is what will Oracle do with Solaris in 5 years, will there even be a Solaris 12? Maybe someday, OI/Illumos will not be seen as the fork... I think its appropriate to honor the company that brought us this great OS! Jake ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Framework error: code: 28 reason
On Wed, Jun 8, 2011 at 5:19 AM, Alexander Pyhalov a...@rsu.ru wrote: Hello. The problem was resolved. It was related to interface and vlan setup. I had vlan interface configured on top of the physical interface. IP address was configured on this vlan interface. Setting MTU on physical interface to 1504 and 1500 on vlan interface helped to resolve problem with OI repositories (or 1500 on physical and 1496 on vlan). I don't understand, why this settings had to be done by hands (e.g. on FreeBSD hosts with similar configuration I never corrected MTU manually - it worked without any interventions... -- I tried to update again and I couldn't get the image-update to complete. I was seeing similar errors to Alexander and no environment variables would work around the issue this time. I did a snoop capture and the first thing I noticed is that the communication between my box and pkg.openindiana.org was ipv6. I disabled ndp and tried again, this time everything went perfect and took less than 15 minutes. Previously it was taking nearly an hour. Seems like there is an issue with ipv6 somewhere. Hope this helps someone else! Jake ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Framework error: code: 28 reason
On Wed, Jun 1, 2011 at 4:13 AM, Alexander Pyhalov a...@rsu.ru wrote: I'm really surprised: # pkg set-publisher -O http://pkg.openindiana.org/dev/ openindiana.org # pkg publisher PUBLISHER TYPE STATUS URI openindiana.org (preferred) origin online http://pkg.openindiana.org/dev/ # pkg set-publisher -O http://pkg.openindiana.org/dev-il/ openindiana.org Refreshing catalog 1/1 openindiana.org pkg set-publisher: Could not refresh the catalog for openindiana.org 1: Framework error: code: 28 reason: Operation too slow. Less than 1024 bytes/sec transfered the last 30 seconds URL: ' http://pkg.openindiana.org/dev-il/openindiana.org/catalog/1/catalog.summary.C'. (happened 4 times) 2: Framework error: code: 28 reason: Operation too slow. Less than 1024 bytes/sec transfered the last 30 seconds URL: ' http://pkg.openindiana.org/dev-il/openindiana.org/catalog/1/catalog.base.C'. (happened 4 times) 3: Framework error: code: 28 reason: Operation too slow. Less than 1024 bytes/sec transfered the last 30 seconds URL: ' http://pkg.openindiana.org/dev-il/openindiana.org/catalog/1/catalog.dependency.C'. (happened 4 times) So, it seems there is some problem related to dev-il repository and not a network problem... On 06/01/2011 09:20, Alexander Pyhalov wrote: Let's continue my conversation with myself. I've found out that problem exists with all pkg.openindiana.org repositories. If I use /dev repository from pkg-2.de.openindiana.org, it works fine (at least I can do pkg refresh). Unfortunately, this host doesn't have /dev-il repository. So, is there any way to get a copy of /dev-il to deploy it on local computer? -- Best regards, Alexander Pyhalov, system administrator of Computer Center of Southern Federal University Hello Alexander, I had a similar problem, but I'm in the US. It was resolved by setting PKG_CLIENT_TIMEOUT=300 in my environment. I'm on a 50Mbps cable modem, so I don't think the issue is a bandwidth issue on my end. Errors were encountered while attempting to retrieve package or file data for the requested operation. Details follow: Framework error: code: 28 reason: Operation too slow. Less than 1024 bytes/sec transfered the last 30 seconds URL: ' http://pkg.openindiana.org/dev-il/file/1/640d942ab80fe98b06e0eec0e7ac586bcd226e29'. (happened 3 times) I wanted to show a traceroute, but I don't get responses back to the traceroute requests after it gets out of the Comcast network. Try the snoop again with a -t a thrown in there so we can see the timing information. Jake ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Suspend and Resume
Yes, I think you're right about the vgatext driver. See this thread: http://opensolaris.org/jive/thread.jspa?threadID=91501 The last post says to try to try to put set vgatext_force_suspend = 1 in the /etc/system file, or try the mdb command to set it to verify it will work first. Jake On Mon, May 16, 2011 at 9:47 AM, 村川 了 fzz01...@nifty.ne.jp wrote: Hi, I added the line in /etc/system and modified /etc/powered.conf. But I failed suspend. The error log is below May 16 22:39:06 thinkpadx100e genunix: [ID 535284 kern.notice] System is being suspended May 16 22:39:08 thinkpadx100e genunix: [ID 122848 kern.warning] WARNING: Unable to suspend device display@5. May 16 22:39:08 thinkpadx100e genunix: [ID 537702 kern.warning] WARNING: Device is busy or does not support suspend/resume.May 16 22:39:18 thinkpadx100e srn: [ID 980641 kern.warning] WARNING: srn_notify: clone 2 did not ack event a03May 16 22:39:18 thinkpadx100e mac: [ID 486395 kern.info] NOTICE: iwh0 link down May 16 22:39:18 thinkpadx100e in.routed[932]: [ID 238047 daemon.warning] interface iwh0 to 192.168.1.205 turned offMay 16 22:39:19 thinkpadx100e genunix: [ID 583038 kern.notice] System has been r esumed. Is this symptom related to the ATI Radeon HD3200 (vgatext) driver? Regards. Ryo On 2011/05/16, at 11:00, Gordon Ross wrote: https://www.illumos.org/issues/1039 On Sun, May 15, 2011 at 8:40 AM, Sean O'Brien upintheclo...@gmail.com wrote: [...] Suspend is not working in OpenIndiana for me whatsoever. Firstly, i get this error when I try to suspend: May 15 05:05:25 fileserv genunix: [ID 535284 kern.notice] System is being suspended May 15 05:05:55 fileserv genunix: [ID 520228 kern.warning] WARNING: Suspend cannot stop process /usr/lib/smbsrv/smbd start (ff026f8e00c0:1). May 15 05:05:55 fileserv genunix: [ID 903701 kern.warning] WARNING: Process may be waiting for network request, please try again. May 15 05:05:57 fileserv genunix: [ID 583038 kern.notice] System has been resumed. This is a known bug from Solaris 11 Express that was fixed in build 156. It's pretty easy to get around this temporarily by disabling smb. [...] Thanks for reminding us about this. I filed an issue for it: https://www.illumos.org/issues/1039 Gordon ___ 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 ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] Suspend and Resume
I'm running a T61p and suspend / resume is working for me. Does it do nothing when you try to suspend? If so you need to enable suspend resume support in /etc/power.conf: autopm default autoS3 default cpu-threshold 1s cpupmenable S3-support enable ...or does it go to sleep and then resume immediately? There is an issue introduced in b145 that you can work around by adding this to the end of your /etc/system file: set pci_enable_wakeup = 0 Note that this is kind of a hack and causes issues with being able to detect USB devices after resume... Thats not a big deal for me since I don't use any USB devices when I'm not docked, but could be a showstopper for a lot of people. See this thread: http://opensolaris.org/jive/thread.jspa?threadID=133674 Unfotunately the Oracle bug tracker is down (anyone know if this is permanent?), so you can't see the upstream status of these bugs. Jake On Sat, May 14, 2011 at 9:04 AM, 村川 了 fzz01...@nifty.ne.jp wrote: Hi, I have been using OI 148 on ThinkPad x100e. As of now I can't use Suspend and Resume for this PC. So I want to know the status for Suspend/Resume of Note PC. Is it developed by someone ? Regards. Ryo ___ 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