ugh. dump / restore problem(s) Cannot find file dump list
I needed to expand a /var partition, which required saving and restoring /var and /usr did the following: booted to backup disk dump -0aR -h 0 -f /usr/backup/dump_var_0_20121113_1920 /dev/ada0p4 (repeat for /tmp, /usr, / partitions to be safe) repartitioned the main disk using gpart newfs the modified partitions (var, tmp, usr) rewrote the boot block and boot partition (#1) mount /dev/ada0p4 /mnt/ssd/var cd /mnt/ssd/var restore -r /usr/backup/dump_var_0_20121113_1920 Cannot find file dump list Any ideas why I get the Cannot find file dump list? What / where is it supposed to be? I was able to get some stuff back from one of the files, but only by doing: #restore -if /usr/backup/dump_usr_0_201121113_1920 restore verbose restore add libdata restore extract Extract requested files You have not read any tapes yet If you are extracting just a few files, start with the last volume and work towards the first; restore can quickly skip tapes that have no further files to extract. Otherwise, begin with volume 1. Specify next volume #: 1 Mount tape volume 1 Enter none if there are no more tapes otherwise enter tape name (default: /usr/backup/dump_usr_0_20121113_1920) unknown tape header type -2 abort [yn] n resync restore, skipped 786 blocks extract file ... ... Add links Set directory mode, owner, and times. Set owner / mode for '.' [yn] y restore If I did not enter Enter after the otherwise enter tape name, but rather entered none I did not get all of the desired contents. Can anyone shed light on this problem? I have been able to restore most everything from a cp I had done at the same time, but I'm not very confident in the results. Fortunately, user data was on a different disk. Obviously, should have done a restore -rN ... before repartitioning. Ugh. Related question: I now realize I should not have answered y to the set owner / mode question, as it changed the mode to the default for root instead of doing what I thought which was restoring the owner / mode to what was saved in the dump. Will restore -x /usr/backup/dump... correct the owner and mode? (and group and flags?) Thanks, Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ugh. dump / restore problem(s) Cannot find file dump list
El día Wednesday, November 14, 2012 a las 01:20:14AM -0700, Gary Aitken escribió: I needed to expand a /var partition, which required saving and restoring /var and /usr did the following: booted to backup disk dump -0aR -h 0 -f /usr/backup/dump_var_0_20121113_1920 /dev/ada0p4 (repeat for /tmp, /usr, / partitions to be safe) repartitioned the main disk using gpart newfs the modified partitions (var, tmp, usr) rewrote the boot block and boot partition (#1) mount /dev/ada0p4 /mnt/ssd/var cd /mnt/ssd/var restore -r /usr/backup/dump_var_0_20121113_1920 Cannot find file dump list Any ideas why I get the Cannot find file dump list? What / where is it supposed to be? You need to specify the file containing the DUMP with -f flag; and use the flag -r only to restore to the original location, or -x to restore into the current dir; check the man page for details; matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | - No proprietary attachments phone: +49-170-4527211 | - Respect for open standards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ugh. dump / restore problem(s) Cannot find file dump list
On Wed, 14 Nov 2012 01:20:14 -0700, Gary Aitken wrote: mount /dev/ada0p4 /mnt/ssd/var cd /mnt/ssd/var restore -r /usr/backup/dump_var_0_20121113_1920 Cannot find file dump list The last command looks wrong. The restore program requires the dump file to be provided via -f, so # restore -rf /usr/backup/dump_var_0_20121113_1920 should work. You can find an example in man restore. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ugh. dump / restore problem(s) Cannot find file dump list
From: Polytropon free...@edvax.de To: free...@dreamchaser.org Cc: FreeBSD Mailing List freebsd-questions@freebsd.org Sent: Wednesday, November 14, 2012 12:27 PM Subject: Re: ugh. dump / restore problem(s) Cannot find file dump list On Wed, 14 Nov 2012 01:20:14 -0700, Gary Aitken wrote: mount /dev/ada0p4 /mnt/ssd/var cd /mnt/ssd/var restore -r /usr/backup/dump_var_0_20121113_1920 Cannot find file dump list The last command looks wrong. The restore program requires the dump file to be provided via -f, so # restore -rf /usr/backup/dump_var_0_20121113_1920 should work. You can find an example in man restore. Hi There is no - . This is the correct format : restore rf /path/to/dump/files good luck :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ugh. dump / restore problem(s) Cannot find file dump list
El día Wednesday, November 14, 2012 a las 01:01:08AM -0800, Jack Mc Lauren escribió: Hi There is no - . This is the correct format : restore rf /path/to/dump/files from man restore(8): RESTORE(8) FreeBSD System Manager's Manual RESTORE(8) NAME restore, rrestore — restore files or file systems from backups made with dump SYNOPSIS restore -i [-dDhmNuvy] [-b blocksize] [-f file | -P pipecommand] [-s fileno] restore -R [-dDNuvy] [-b blocksize] [-f file | -P pipecommand] [-s fileno] restore -r [-dDNuvy] [-b blocksize] [-f file | -P pipecommand] [-s fileno] restore -t [-dDhNuvy] [-b blocksize] [-f file | -P pipecommand] [-s fileno] [file ...] restore -x [-dDhmNuvy] [-b blocksize] [-f file | -P pipecommand] [-s fileno] [file ...] ... matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | - No proprietary attachments phone: +49-170-4527211 | - Respect for open standards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ugh. dump / restore problem(s) Cannot find file dump list
On Wed, 14 Nov 2012 01:01:08 -0800 (PST), Jack Mc Lauren wrote: There is no - . This is the correct format : restore rf /path/to/dump/files Really? The manual at man restore mentions: restore -r [-dDNuvy] [-b blocksize] [-f file | -P pipecommand] [-s fileno] And in the -r section: newfs /dev/da0s1a mount /dev/da0s1a /mnt cd /mnt restore rf /dev/sa0 So it seems that _both_ formats are supported (comparable to tar). One of the (in my opinion) most interesting reference sources for dump/restore also mentions this format: # mount /dev/da0s1 /mnt # mkdir /tmp/oldvar # cd /tmp/oldvar # restore -ruf /mnt/var.dump # umount /mnt Source: http://www.wonkity.com/~wblock/docs/html/backup.html#_em_dump_8_em_em_restore_8_em -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Old file reappeared by itself
13.11.2012 17:24, Friedrich Locke: Be very careful, watch your back. Someone may be trying to get you paranoid! And you are following their game. Does anyone else have access to your host ? I doubt it. The only access to the host is via ssh. The last log is not damaged or altered, the all.log is no altered too. The only person who accessed the server is me. Also, the file is restored in some previous condition, but i do not make backups of it and copies are not stored anywhere. I doubt that someone made copies from 2011 and 2012 to the overwrite it. That seems highly unlikely. Have you ever call the police ? Ever - yes, in this case - no. Do you monitor access to your box? Yes. Nothing suspicious found. I really suspect that this is a filesystem glitch. On Tue, Nov 13, 2012 at 10:51 AM, Artem Kuchin mat...@itlegion.ru mailto:mat...@itlegion.ru wrote: 12.11.2012 14:07, Artem Kuchin: The machines runs 4 jails. Everything is in the jails except NAMED. Named is run on the root host (if i may say so) itself. There is a zone file there which i changed last week. Today in the morning i try to open a site and host name is not found. It worked on friday. I went to see the the zone file. IT WAS DATED 2010 I open it and the serial number is something like 201103021. I do all my serials using dates, so, while the file date is 2010 the content is from 2011 and it sure does looks so. Then i go to secondary zone (slave) on another server and there i find the zone from last week. I checked all logs and did not find anything special. The zone file from 2010 just reappeared from nowhere kill all the new changes. As i said, i saw things like this in the past. It happened insides jails and was related to files for web sites and i thought that i and someone else messed up. No i think i saw the same thing. It happened today again! I checked file today and the file was dated 5 oct 2012 but content was from a week ago except the serial. I changed it yesterday. No automatic backup or restore is running. Uptime is 321 day. last says not one has logged in since yerterday. I am going crazy. ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org mailto:freebsd-questions-unsubscr...@freebsd.org -- ? ?, ? ? ?? ?? ?? www.itlegion.ru www.hostilla.ru +7 (495) 232-0338 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: portsnap
On Wednesday 14 November 2012 00:37:47 Elias Chrysocheris wrote: Yeap. Same here: pluto# portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found. Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done. Latest snapshot on server matches what we already have. No updates needed. Ports tree is already up to date. How can it be possible? 3 years now that I use FreeBSD there was not even a single day that we didn't have updates in the ports tree. How can it be possible for two consecutive days to have No updates needed.? Something is wrong... Regards Elias We have updates but I red somewhere about problem with server. Should be nice to the users if someone sent email to mailing list about a problem. Mitja http://www.redbubble.com/people/lumiwa ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Old file reappeared by itself
Hello. 2012/11/14 14:25:27 +0400 Artem Kuchin mat...@itlegion.ru = To Friedrich Locke : AK Have you ever call the police ? AK AK Ever - yes, in this case - no. Have police ever called you? ;-) AK It happened today again! I checked file today and the file was Then it's much easier if it happens again. If it's the zone then BIND may seem to overwrite the file? I can do this in the case it's a primary zone service. I'm informed it's all about the primary not a secondary zone service but hence BIND isn't a piece of cake who knows. Since that you can do this: - chmod file(s) for BIND to read-only it. - monitor certain directories for changes. I have no idea about the tool to handle this task but it's quite possible with inotify() system call and/or the sgi fam protocol, particularly its sysutils/gamin implementation. AK ? ?, AK ? ? AK ?? ?? ?? ... Content-Type: text/plain; charset=us-ascii; ? -- Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: A0E26627 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Installations
Good morning I'm difucudade to install the graphics and installation of the Oracle database and 11XE Caché database in FreeBSD 9. Could someone help me? I need to make these facilities for my CBT. Thank you for your attention ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
OT: problems with gpl-licensed software
Thinking about extending or dual-licensing a gpl-licensed software ? https://lkml.org/lkml/2012/11/7/338 jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, try here first...
Hi, On Wed, 14 Nov 2012 03:58:14 +0100 Polytropon free...@edvax.de wrote: On Wed, 14 Nov 2012 08:26:00 +0700, Erich Dollansky wrote: Hi, On Tue, 13 Nov 2012 17:07:38 -0800 Gary Kline kl...@thought.org wrote: On Wed, Nov 14, 2012 at 04:47:48AM +0700, Erich Dollansky wrote: Hi, On Tue, 13 Nov 2012 11:00:07 -0800 Gary Kline kl...@thought.org wrote: On Tue, Nov 13, 2012 at 09:12:55AM +0100, Polytropon wrote: On Tue, 13 Nov 2012 15:10:33 +0700, Erich Dollansky wrote: Hi, ja vohl. futher dhclient is there. I'll go back to you wanted to say 'jawohl'? Jawohl mein Herr! :-) What, no comma!? what the Playboy did to the German language ... Playboy's German tag line missed out on a comma too. It was obviously a mistake. I have heard that they brought it back after decades of no comma in the tag line. do you mean that it was Play boy? or what? what was the tag line? Playboy alles was Maennern Spass macht Ouch. Unlike in English, the comma in German is an important symbol in grammar. It brings structure to sentences. In English, there is the word order that achieves this goal, and a comma is mostly optional or left to preferences. In German, there are rules where to place a comma, and where not to. Those rules are relatively easy to understand, and luckily they do not leave much space for individual preferences. :-) In the above example, Playboy, alles was Maennern Spass macht or better using a hyphen Playboy - alles was Maennern Spass macht would have been correct, as it's shown on the current web page in a correct manner. I have had to open playboy.de again. Just for the comma. I think that it is a bit more complicated. Especially as Playboy is here the brand 'Alles, was Maennern Spass macht' is the tag line and needs a comma after alles. Playboy does it now properly in the header of their site but wrongly in the title. Your second line with the hyphen is there the best option if there would be the comma after alles. I never would have believed that Playboy becomes part of a serious discussion which started with an sshd problem. Ok, the world knows now the importance of Playboy for the IT world. Erich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: well, try here first...
On Wed, 14 Nov 2012 00:58:02 -0600 (CST) Robert Bonomi wrote: In 'classic' English (as taught in the 60s and earlier), a comma was _required_ before a trailing 'and' in a list of 3 or more items, and forbidden if there were only two items. Not really: http://oxforddictionaries.com/words/what-is-the-oxford-comma Perhaps is should be taken to chat, it has nothing to do with FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ugh. dump / restore problem(s) Cannot find file dump list
On 11/14/12 01:30, Matthias Apitz wrote: El día Wednesday, November 14, 2012 a las 01:20:14AM -0700, Gary Aitken escribió: I needed to expand a /var partition, which required saving and restoring /var and /usr did the following: booted to backup disk dump -0aR -h 0 -f /usr/backup/dump_var_0_20121113_1920 /dev/ada0p4 (repeat for /tmp, /usr, / partitions to be safe) repartitioned the main disk using gpart newfs the modified partitions (var, tmp, usr) rewrote the boot block and boot partition (#1) mount /dev/ada0p4 /mnt/ssd/var cd /mnt/ssd/var restore -r /usr/backup/dump_var_0_20121113_1920 Cannot find file dump list Any ideas why I get the Cannot find file dump list? What / where is it supposed to be? You need to specify the file containing the DUMP with -f flag; and use the flag -r only to restore to the original location, or -x to restore into the current dir; check the man page for details; Sorry all, a typing issue on my part when composing the email; problem remains: # restore -iN -f /mnt/hd_ssd_backup/usr/backup/dump_tmp_0_20121113_1920 Cannot find file dump list ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ugh. dump / restore problem(s) Cannot find file dump list
On Wed, 14 Nov 2012, Polytropon wrote: On Wed, 14 Nov 2012 01:01:08 -0800 (PST), Jack Mc Lauren wrote: There is no - . This is the correct format : restore rf /path/to/dump/files Really? The manual at man restore mentions: restore -r [-dDNuvy] [-b blocksize] [-f file | -P pipecommand] [-s fileno] And in the -r section: newfs /dev/da0s1a mount /dev/da0s1a /mnt cd /mnt restore rf /dev/sa0 So it seems that _both_ formats are supported (comparable to tar). One of the (in my opinion) most interesting reference sources for dump/restore also mentions this format: # mount /dev/da0s1 /mnt # mkdir /tmp/oldvar # cd /tmp/oldvar # restore -ruf /mnt/var.dump Yes, -u unlinks an existing file before restoring that file, useful for restoring dumps over an existing filesystem. Leave out the -u when restoring to a new filesystem and the restore will go faster. # umount /mnt And that points out a mistake: /mnt can't be unmounted while it is the PWD. Fixed. Source: http://www.wonkity.com/~wblock/docs/html/backup.html#_em_dump_8_em_em_restore_8_em Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Issues with smartd starting up at boot time - delays sever start?
--On 13 November 2012 11:14 -0600 Dan Nelson dnel...@allantgroup.com wrote: Can anyone think of a 'simple' fix for this? - Is there anything I can do to '/usr/local/etc/rc.d/smartd' to make it run later in the startup process? Try adding mail to the REQUIRE: line, since sendmail has that in its PROVIDES: line. Thanks, I'll give that a go when I get a chance, -Karl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ugh. dump / restore problem(s) Cannot find file dump list
El día Wednesday, November 14, 2012 a las 09:45:22AM -0700, Warren Block escribió: One of the (in my opinion) most interesting reference sources for dump/restore also mentions this format: # mount /dev/da0s1 /mnt # mkdir /tmp/oldvar # cd /tmp/oldvar # restore -ruf /mnt/var.dump Yes, -u unlinks an existing file before restoring that file, useful for restoring dumps over an existing filesystem. Leave out the -u when restoring to a new filesystem and the restore will go faster. # umount /mnt And that points out a mistake: /mnt can't be unmounted while it is the PWD. Fixed. I think PWD is /tmp/oldvar and not /mnt; matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | - No proprietary attachments phone: +49-170-4527211 | - Respect for open standards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Mounting SD card.
Hi, I can't make my SD card reader work. It is from a 4 years old Compaq PC. It works fine in Linux however. I'm using 9.0 release with stock kernel. If I boot the system and plug the SD card in, the green led doesn't even switch on and there is only a /dev/da0 that I can not mount. If I boot the system with the card plugged in, the green led is on and there is a /dev/da0s1 device that I can't still mount because mount_msdosfs returns an Input/Output error after some time. Any ideas on how to debug this? This is an excerpt of dmesg: ... Root mount waiting for: usbus7 usbus6 usbus5 usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered Root mount waiting for: usbus7 usbus2 uhub2: 4 ports with 4 removable, self powered Root mount waiting for: usbus7 uhub7: 8 ports with 8 removable, self powered Root mount waiting for: usbus7 Root mount waiting for: usbus7 ugen7.2: Generic at usbus7 umass0: Generic Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2 on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:6:0:-1: Attached to scbus6 Trying to mount root from ufs:/dev/ad4s2a [rw]... (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim0:0:0:0): Command Specific Info: 0xaa5540 da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 da0: Generic USB SD Reader 1.00 Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:1): SCSI status: Check Condition (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim0:0:0:1): Command Specific Info: 0xaa5540 da1 at umass-sim0 bus 0 scbus6 target 0 lun 1 da1: Generic USB CF Reader 1.01 Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 (probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:2): SCSI status: Check Condition (probe0:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 (Medium not present) (probe0:umass-sim0:0:0:2): Command Specific Info: 0xaa5540 da2 at umass-sim0 bus 0 scbus6 target 0 lun 2 da2: Generic USB SM Reader 1.02 Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present ... And this is the output of pciconf -lv: hostb0@pci0:0:0:0: class=0x06 card=0x2a6f103c chip=0x29c08086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82G33/G31/P35/P31 Express DRAM Controller' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x8086 chip=0x29c18086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82G33/G31/P35/P31 Express PCI Express Root Port' class = bridge subclass = PCI-PCI uhci0@pci0:0:26:0: class=0x0c0300 card=0x2a6f103c chip=0x29378086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB uhci1@pci0:0:26:1: class=0x0c0300 card=0x2a6f103c chip=0x29388086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:0:26:7: class=0x0c0320 card=0x2a6f103c chip=0x293c8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB2 EHCI Controller' class = serial bus subclass = USB hdac0@pci0:0:27:0: class=0x040300 card=0x2a6f103c chip=0x293e8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) HD Audio Controller' class = multimedia subclass = HDA pcib2@pci0:0:28:0: class=0x060400 card=0x2a6f103c chip=0x29408086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) PCI Express Port 1' class = bridge subclass = PCI-PCI pcib3@pci0:0:28:2: class=0x060400 card=0x2a6f103c chip=0x29448086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) PCI Express Port 3' class = bridge subclass = PCI-PCI uhci2@pci0:0:29:0: class=0x0c0300 card=0x2a6f103c chip=0x29348086 rev=0x02 hdr=0x00 vendor = 'Intel
curious -- what's /tmp/fam-root ?
Just curious; what's the purpose of /tmp/fam-root, and what is written there? Is it simply where the os writes stuff which is sensitive, and putting it in a rwx-- directory avoids potential security issues regarding file access? or is there more to it than that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
rm -rf and flags (schg, sunlnk)
Assuming one makes a mirror of a file system for backup purposes, then renames the mirror and makes another one, then attempts to remove the original using rm -rf, the rm will fail if any of the files have the schg or sunlnk bits set. Is there an easy way around this problem other than traversing the whole subtree, finding files with the flags set and unsetting them? thanks, Gary ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: rm -rf and flags (schg, sunlnk)
On 11/14/2012 2:34 PM, Gary Aitken wrote: Assuming one makes a mirror of a file system for backup purposes, then renames the mirror and makes another one, then attempts to remove the original using rm -rf, the rm will fail if any of the files have the schg or sunlnk bits set. Is there an easy way around this problem other than traversing the whole subtree, finding files with the flags set and unsetting them? Two options: find /PATH -flags schg -exec chflags noschg {} + or chflags -R noschg /PATH Then rm -rf /PATH thanks, Gary Bryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Mounting SD card.
On Wednesday 14 November 2012 19:43:30 Fernando Apesteguía wrote: If I boot the system and plug the SD card in, the green led doesn't even switch on and there is only a /dev/da0 that I can not mount. If I boot the system with the card plugged in, the green led is on and there is a /dev/da0s1 device that I can't still mount because mount_msdosfs returns an Input/Output error after some time. I think that's pretty much standard behaviour. The solution appears to be to wake it up with the following incantation: dd if=/dev/null of=/dev/da0 count=0 That's what works here. See the thread starting with http://lists.freebsd.org/pipermail/freebsd-questions/2010-February/212109.html -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: curious -- what's /tmp/fam-root ?
Gary Aitken freebsd at dreamchaser.org writes: Just curious; what's the purpose of /tmp/fam-root, and what is written there? Is it simply where the os writes stuff which is sensitive, and putting it in a rwx-- directory avoids potential security issues regarding file access? or is there more to it than that? # procstat -af |grep -i fam 23038 polkitd12 s - rw--- 1 0 UDS /tmp/fam-root/fam- 23040 gam_server 4 s - rw--- 1 0 UDS /tmp/fam-root/fam- 23040 gam_server 7 s - rw--- 1 0 UDS /tmp/fam-root/fam- 26654 thunar 7 s - rw--- 1 0 UDS /tmp/fam-jb/fam- ... # file /tmp/fam-root/fam- /tmp/fam-root/fam-: socket jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Advanced Format Drive ?
On Wed, 14 Nov 2012, Ronald F. Guilmette wrote: I'm looking at the examples section of the gpart(8) man page. May I assume that if I just want to merely ``try out'' GPT... you know... taking it out on the road for a first time test run... that I can just do the first five (5) commands listed under EXAMPLES and then that will be enough to go ahead and try installing FreeBSD into the created freebsd-ufs partition? Even assuming that the answer is yes, I have still more questions... Where are these magic numbers coming from?? I am specifically talking about the number 34 in the -b 34 option and also the number 162 in the -b 162 option. Tha man page just tosses those into the example command lines without saying a word about them. And you can probably guess what it is that is especially troubling to me about them... neither one of them is divisible by 8 (i.e. 4KB/512B). So would the examples in the current gpart(8) man page produce an Epic Fail when and if they were used with a modern Advanced Format drive? -b is the beginning block of a partition. 34 is a magic value, the size of a standard GPT partition table. A good overall reference on GPT is the Wikipedia page: http://en.wikipedia.org/wiki/GUID_Partition_Table Remember that the man page is a reference, not a tutorial. I wanted more specific notes that followed best practices, and that was the source for this article: http://www.wonkity.com/~wblock/docs/html/disksetup.html In general, you create a partition scheme first. This can be MBR, GPT, or others. (But use GPT.) Rather than combine the bootcode with the partition table, GPT just uses a small partition for it. Since the standard GPT allows for up to 128 partitions, there's no reason not to use them. Next come other partitions for UFS or ZFS filesystems or swap. That's it, really. The rest is details the man page can explain, like additional options for alignment. (The creation of the first UFS partition in the article does not use -a because older versions of gpart did unexpected things when -a and -b were combined. The alignment produced is correct.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Proposition
Greetings, I am Mr. Li Hao, CFO of China Merchants Bank, P.R.C. I have a discreet proposition for you to the tune of 105 Million EUR. Please reply for details. Warmest, LH ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: curious -- what's /tmp/fam-root ?
On Wed, 14 Nov 2012 13:22:06 -0700, Gary Aitken wrote: Just curious; what's the purpose of /tmp/fam-root, and what is written there? Is it simply where the os writes stuff which is sensitive, and putting it in a rwx-- directory avoids potential security issues regarding file access? or is there more to it than that? I think this is part of FAM - file alternation monitor, and the particular directory is for root, that's why it is user-protected. I'm not sure if this is part of the OS, cf. port gio-fam-backend (belongs to GIO, which probably belongs to something else that is then required by again something else...). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: why sync during shutdown when sync already done?
On Wed, 14 Nov 2012 19:32:46 -0700, Gary Aitken wrote: It's my understanding that the sequence of numbers one sees output when shutdown is issued reflect writes of cached items. Is that correct? If so, why does: sync shutdown -r now still show cached items being written? Issuing the sync command simply tells the OS to sync any modified file I/O buffers (cache) that aren't written yet. It does not imply that the OS will do it _exactly now_, and even more, that it will _have done_ it when the command returns. So if you call sync(), the kernel will be instructed to perform the syncing operation. But keep in mind that the actual device drivers (e. g. for the hard disk in question) may delay the transfer to the disk, but tell the kernel that the operation has been completed. This minimal time window can probably be ignored, but from my understanding, syncing is a multi-staged process. The shutdown sync seems to have a specific timeout that makes sure things get written definitely. That's why even the famous # sync ; sync ; sync ; reboot sequence would have the same effect. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
perl, rrdtool issue
Hi Guys, Yesterday I issued the following command which I regretted: portupgrade -CPy, and this little tool installed perl 5.12 while perl 5.10 was already on the system. Since then everything is messed up. Now I deleted perl 5.10 and reinstalled perl 5.10 and everything which depends on it and still have the following error: # portversion -v [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 626 packages found (-1 +0) (...) done] Stale dependency: bsdpan-RRDp-0.99.0 -- perl-5.10.1_7 -- manually run 'pkgdb -F' to fix, or specify -O to force. I tried pkgdb -F but it can't fix, also tried to delete rrdtool and reinstall, but still the same issue. I'm running 8.3-RELEASE-p3. Do you have any idea how to solve this issue? Thx! Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: perl, rrdtool issue
Laszlo, Yesterday I issued the following command which I regretted: portupgrade -CPy, and this little tool installed perl 5.12 while perl 5.10 was already on the system. Since then everything is messed up. Now I deleted perl 5.10 and reinstalled perl 5.10 and everything which depends on it and still have the following error: What I usually do is upgrading every Perl packages after I upgraded Perl. Something like portupgrade -R perl should do. Or do it manually, one port at a time if you are afraid to break something else. For having done it recently, from perl to rrdtool it's less than 10 ports to get it back working. best regards, olivier # portversion -v [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 626 packages found (-1 +0) (...) done] Stale dependency: bsdpan-RRDp-0.99.0 -- perl-5.10.1_7 -- manually run 'pkgdb -F' to fix, or specify -O to force. I tried pkgdb -F but it can't fix, also tried to delete rrdtool and reinstall, but still the same issue. I'm running 8.3-RELEASE-p3. Do you have any idea how to solve this issue? Thx! Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Amanda not working in 8.3
Hi, Since I updated all my servers from previous versions of FreeBSD to 8.3 (p4), Amanda started failing for any big back-up. I cannot trace the problem and would appreciate some help. For one of the big file system, I did a manual tar-gzip-ssh to amanda server. It proceeded well, so it seems it is not a timeout in process or network. TIA. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: perl, rrdtool issue
Actually I did portupgrade -rf, and still have the issue with that bsdpan-RRDp-0.99.0. And because of that my munin isn't working, I'm getting email like: Can't locate Munin/Common/Defaults.pm in @INC (@INC contains: /usr/local/lib/perl5/5.12.4/BSDPAN /usr/local/lib/perl5/site_perl/5.12.4/mach /usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/mach /usr/local/lib/perl5/5.12.4 .) at /usr/local/lib/perl5/site_perl/5.12.4/Munin/Master/Update.pm line 14. On 2012 November 15 Thursday at 8:37 AM, Olivier Nicole wrote: Laszlo, Yesterday I issued the following command which I regretted: portupgrade -CPy, and this little tool installed perl 5.12 while perl 5.10 was already on the system. Since then everything is messed up. Now I deleted perl 5.10 and reinstalled perl 5.10 and everything which depends on it and still have the following error: What I usually do is upgrading every Perl packages after I upgraded Perl. Something like portupgrade -R perl should do. Or do it manually, one port at a time if you are afraid to break something else. For having done it recently, from perl to rrdtool it's less than 10 ports to get it back working. best regards, olivier # portversion -v [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 626 packages found (-1 +0) (...) done] Stale dependency: bsdpan-RRDp-0.99.0 -- perl-5.10.1_7 -- manually run 'pkgdb -F' to fix, or specify -O to force. I tried pkgdb -F but it can't fix, also tried to delete rrdtool and reinstall, but still the same issue. I'm running 8.3-RELEASE-p3. Do you have any idea how to solve this issue? Thx! Laszlo ___ freebsd-questions@freebsd.org (mailto:freebsd-questions@freebsd.org) mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org (mailto:freebsd-questions-unsubscr...@freebsd.org) ___ freebsd-questions@freebsd.org (mailto:freebsd-questions@freebsd.org) mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org (mailto:freebsd-questions-unsubscr...@freebsd.org) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org