ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Gary Aitken
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 new

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Matthias Apitz
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 >

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Polytropon
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

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Jack Mc Lauren
From: Polytropon To: free...@dreamchaser.org Cc: FreeBSD Mailing List 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 /d

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Matthias Apitz
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

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Polytropon
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 s

Re: Old file reappeared by itself

2012-11-14 Thread Artem Kuchin
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.l

Re: portsnap

2012-11-14 Thread ajtiM
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 al

Re: Old file reappeared by itself

2012-11-14 Thread Peter Vereshagin
Hello. 2012/11/14 14:25:27 +0400 Artem Kuchin => 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 aga

Installations

2012-11-14 Thread Vitor Rodrigues Tanamachi
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

OT: problems with gpl-licensed software

2012-11-14 Thread jb
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 "fre

Re: well, try here first...

2012-11-14 Thread Erich Dollansky
Hi, On Wed, 14 Nov 2012 03:58:14 +0100 Polytropon 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 wrote: > > > > > On Wed, Nov 14, 2012 at 04:47:48AM +0700, Erich Dollansky wrote: > > > > Hi, > > > > > > >

Re: well, try here first...

2012-11-14 Thread RW
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/w

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Gary Aitken
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 -

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Warren Block
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]

Re: Issues with smartd starting up at boot time - delays sever start?

2012-11-14 Thread Karl Pielorz
--On 13 November 2012 11:14 -0600 Dan Nelson 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.

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Matthias Apitz
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 > > # r

Mounting SD card.

2012-11-14 Thread Fernando Apesteguía
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

curious -- what's /tmp/fam-root ?

2012-11-14 Thread Gary Aitken
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?

rm -rf and flags (schg, sunlnk)

2012-11-14 Thread Gary Aitken
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 traversin

Re: rm -rf and flags (schg, sunlnk)

2012-11-14 Thread Bryan Drewery
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 ther

Re: Mounting SD card.

2012-11-14 Thread Mike Clarke
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/da0

Re: curious -- what's /tmp/fam-root ?

2012-11-14 Thread jb
Gary Aitken 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 mo

Re: rm -rf and flags (schg, sunlnk)

2012-11-14 Thread Steve O'Hara-Smith
On Wed, 14 Nov 2012 14:38:50 -0600 Bryan Drewery wrote: > Two options: > > find /PATH -flags schg -exec chflags noschg {} + > or > chflags -R noschg /PATH > > Then > > rm -rf /PATH it's often quickest to: rm -rf /PATH chflags -R noschg /PATH rm -rf /PATH The oth

9.1 permissions in the / directory

2012-11-14 Thread Joseph Mays
Have a recently set up 9.1 RC1 system. Someone (not me, just sayin') did a chmod 600 in the / directory. Needless to say this caused numerous problems. I tried to change them back as best I could by comparing them to an older directory, but some things are still not right. Trying to log in, via

Re: OT: problems with gpl-licensed software

2012-11-14 Thread Dale Scott
> Thinking about extending or dual-licensing a gpl-licensed software ? > https://lkml.org/lkml/2012/11/7/338 Interesting thread, but if you are implying that dual-licensing GPL software is in general dangerous, then I would respectfully disagree. The real issue in the linked thread seems to be o

'device' representation in the filesystem questions

2012-11-14 Thread Robert Bonomi
it appears that FreeBSD, at least 8.0 and later: a) no longer uses 'raw' devices for anything b) no longer uses 'block' devices for anything c) randomly assigns device 'major' numbers d) doesn't use device 'minor' numbers for anything. e) as a result of c) and d), there is no way to

Power saving

2012-11-14 Thread Albert Shih
Hi everybody, I'm trying to do some power saving on my laptop. I've already do everything (almost) http://wiki.freebsd.org/TuningPowerConsumption but still a very basic problem. When I boot my laptop under FreeBSD and I do nothing the fan don't run. But if I do anything (launch firefox

Re: 9.1 permissions in the / directory

2012-11-14 Thread Waitman Gobble
On Wed, Nov 14, 2012 at 2:12 PM, Joseph Mays wrote: > > Have a recently set up 9.1 RC1 system. Someone (not me, just sayin') did a > chmod 600 in the / directory. Needless to say this caused numerous problems. > I tried to change them back as best I could by comparing them to an older > directo

Re: OT: problems with gpl-licensed software

2012-11-14 Thread Robert Bonomi
> Date: Wed, 14 Nov 2012 16:09:32 -0700 (MST) > From: Dale Scott > Subject: Re: OT: problems with gpl-licensed software > > > Thinking about extending or dual-licensing a gpl-licensed software ? > > https://lkml.org/lkml/2012/11/7/338 > > IANAL, but my understanding from researching the GPL is t

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Warren Block
On Wed, 14 Nov 2012, Matthias Apitz wrote: 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

Re: Mounting SD card.

2012-11-14 Thread Warren Block
On Wed, 14 Nov 2012, Mike Clarke wrote: 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 gre

why sync during shutdown when sync already done?

2012-11-14 Thread Gary Aitken
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? ___ freebsd-questions@freebsd.or

Re: Advanced Format Drive ?

2012-11-14 Thread Ronald F. Guilmette
In message , Warren Block wrote: >On Tue, 13 Nov 2012, Ronald F. Guilmette wrote: > >> OK. I think that I always was doing that anyway. But I want to be sure >> that I understand... If the size of the BSD partition is a multiple of, >> say, !MB, then the _alignment_ of that partition will lik

Re: well, try here first...

2012-11-14 Thread Perry Hutchison
Robert Bonomi wrote: > > Date: Wed, 14 Nov 2012 05:48:48 +0100 > > From: Polytropon > > Subject: Re: well, try here first... > > > > On Tue, 13 Nov 2012 20:20:51 -0700, Chad Leigh Shire.Net LLC wrote: > > > > > > To be fair, a lot of the same rules exist for English. The > > > comma is not opti

Re: Advanced Format Drive ?

2012-11-14 Thread Warren Block
On Wed, 14 Nov 2012, Ronald F. Guilmette wrote: (And I gather from everything that has been said so far in this thread that if the alignment is set wrong, then the user is likely to pay a Big Price in terms of performance, right?) Yes. ... and I am almost tempted to file a formal PR about th

Re: ugh. dump / restore problem(s) "Cannot find file dump list"

2012-11-14 Thread Gary Aitken
> 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 a

Re: Advanced Format Drive ?

2012-11-14 Thread Warren Block
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 un

Proposition

2012-11-14 Thread Li Hao
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/mailma

Re: curious -- what's /tmp/fam-root ?

2012-11-14 Thread Polytropon
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? > o

Re: why sync during shutdown when sync already done?

2012-11-14 Thread Polytropon
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? Issui

perl, rrdtool issue

2012-11-14 Thread Dánielisz László
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

Re: perl, rrdtool issue

2012-11-14 Thread Olivier Nicole
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

Amanda not working in 8.3

2012-11-14 Thread Olivier Nicole
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

Re: perl, rrdtool issue

2012-11-14 Thread Laszlo Danielisz
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