Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Daniel O'Connor написав(ла): On Tuesday 24 March 2009 11:55:07 Mikhail T. wrote: I'm trying to migrate a filesystem from one disk to another using: dump a0hCf 0 32 - /old | restore -rf - (/old is already mounted read-only). The process runs for a while and then stops with: [...]

setting quotas from inside a jail

2009-03-24 Thread Charles Sprickman
Hello all, The subject describes my goal. I'm aware of the usual caveats - if there's more than one jail, no UID overlap, this will really only work in one jail if all jails are on the same filesystem, etc. I found a very, very old post that has an... interesting... technique:

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Danny Braniss
Daniel O'Connor ÎÁÐÉÓÁ×(ÌÁ): On Tuesday 24 March 2009 11:55:07 Mikhail T. wrote: I'm trying to migrate a filesystem from one disk to another using: dump a0hCf 0 32 - /old | restore -rf - (/old is already mounted read-only). The process runs for a while and then stops

Re: [PREVIEW] Nouveau on FreeBSD (Take 2)

2009-03-24 Thread Robert Noland
On Tue, 2009-03-24 at 12:19 +0800, wsk wrote: Robert Noland wrote: On Mon, 2009-03-23 at 09:28 +0800, wsk wrote: Ok, this patch should work on NV50 chips also. What you get is EXA and Xv. You still need: A recent -CURRENT or -STABLE. git master

Intel Integrated RAID iir not working under 7.2

2009-03-24 Thread Danny Braniss
Hi, After turning debuging on, it seems that the iir driver is loosing an interrupt while probing: ... gdt_next(0xc7666000) gdt_mpr_test_busy(0xc7666000) gdt_intr(0xc7666000) gdt_mpr_get_status(0xc7666000) gdt_mpr_intr(0xc7666000) gdt_free_ccb(0xc7666000, 0xc767e444) gdt_sync_event(0xc7666000, 3,

LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
Hi, I have a LSI Logic sata/sas raid running, is there a way to see the state of the volume, like optimal, degraded or resyncing? I've tried several commands with camcontrol but I cant figure it out. -- Peter Ankerstål pe...@pean.org http://www.pean.org/

Re: LSI Logic raid status

2009-03-24 Thread Ruben van Staveren
On 24 Mar 2009, at 13:40, Peter Ankerstål wrote: Hi, I have a LSI Logic sata/sas raid running, is there a way to see the state of the volume, like optimal, degraded or resyncing? There is sysutils/linux-megacli Yes, looks like ports/130505 is still pending unfortunately I've tried

Re: LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
On Mar 24, 2009, at 2:08 PM, Ruben van Staveren wrote: On 24 Mar 2009, at 13:40, Peter Ankerstål wrote: Hi, I have a LSI Logic sata/sas raid running, is there a way to see the state of the volume, like optimal, degraded or resyncing? There is sysutils/linux-megacli Sorry about that.

7.1 stable panics

2009-03-24 Thread Nathanael Jean-Francois
Hello all, I've been getting some panics with a 7.1 stable machine from March 14th. I've not been able to determine the cause nor reproduce them at will. Here's a backtrace from the latest panic on March 23rd. Let me know if any more information is needed. Thanks. Unread portion of the kernel

sysctl net.isr overflow

2009-03-24 Thread pluknet
Hi. I noticed strange values in the sysctl branch net.isr: net.isr.direct: 0 net.isr.count: -458871841 net.isr.directed: 0 net.isr.deferred: -458850991 net.isr.queued: -19290738 net.isr.drop: 0 net.isr.swi_count: -1114653647 I'm running 6.2 release. AFAICS those oids are still defined as

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Danny Braniss написав(ла): Daniel O'Connor написав(ла): On Tuesday 24 March 2009 11:55:07 Mikhail T. wrote: I'm trying to migrate a filesystem from one disk to another using: dump a0hCf 0 32 - /old | restore -rf - (/old is already mounted read-only). The process runs for a while

Re: setting quotas from inside a jail

2009-03-24 Thread Michael R. Wayne
On Tue, Mar 24, 2009 at 03:05:05AM -0400, Charles Sprickman wrote: The subject describes my goal. I'm aware of the usual caveats - if there's more than one jail, no UID overlap, this will really only work in one jail if all jails are on the same filesystem, etc. I found a very, very old

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Danny Braniss написав(ла): can you try splitting it in 2, ie no pipe? dump a0f some.file /old (or dump 0f - /old | gzip -c file.dump.gz) restore rf some.file Same problem: restore -rf ibmo.0.2009-03-24.dump load: 0.55 cmd: restore 11303 [nbufkv] 3.53u 3.91s 4%

Re: LSI Logic raid status

2009-03-24 Thread Charles Sprickman
On Mar 24, 2009, at 9:20 AM, Peter Ankerstål wrote: On Mar 24, 2009, at 2:08 PM, Ruben van Staveren wrote: On 24 Mar 2009, at 13:40, Peter Ankerstål wrote: Hi, I have a LSI Logic sata/sas raid running, is there a way to see the state of the volume, like optimal, degraded or

Re: LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
On Mar 24, 2009, at 8:00 PM, Charles Sprickman wrote: dev.mpt.0.nonoptimal_volumes: 0 Don't test whether the nonoptimal_volumes parameter works, it does - but if you pull a drive, FreeBSD likes to panic both on the loss of a disk and then again when the drive is reconnected and the

Re: LSI Logic raid status

2009-03-24 Thread Karl Denninger
Charles Sprickman wrote: There is sysutils/linux-megacli Sorry about that. This is not megaraid its the mpt driver. LSI SAS3041E-R PCI-e mpt0: LSILogic SAS/SATA Adapter port 0x2000-0x20ff mem 0xd021-0xd0213fff,0xd020-0xd020 irq 16 at device 0.0 on pci3 mpt0: [ITHREAD] mpt0: MPI

Re: LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
On Mar 24, 2009, at 8:20 PM, Scott Long wrote: Peter Ankerstål wrote: On Mar 24, 2009, at 8:00 PM, Charles Sprickman wrote: dev.mpt.0.nonoptimal_volumes: 0 Don't test whether the nonoptimal_volumes parameter works, it does - but if you pull a drive, FreeBSD likes to panic both on the

Re: LSI Logic raid status

2009-03-24 Thread Scott Long
Peter Ankerstål wrote: On Mar 24, 2009, at 8:00 PM, Charles Sprickman wrote: dev.mpt.0.nonoptimal_volumes: 0 Don't test whether the nonoptimal_volumes parameter works, it does - but if you pull a drive, FreeBSD likes to panic both on the loss of a disk and then again when the drive is

Re: LSI Logic raid status

2009-03-24 Thread Peter Ankerstål
On Mar 24, 2009, at 8:50 PM, Marat N.Afanasyev wrote: Scott Im running RELENG_7 cvsuped and built like 15 hours ago. I still have this problem. Please come back to me if you want some additional information about the setup. -- Peter Ankerstål pe...@pean.org http://www.pean.org/

Re: LSI Logic raid status

2009-03-24 Thread Marat N.Afanasyev
Peter Ankerstål wrote: On Mar 24, 2009, at 8:20 PM, Scott Long wrote: Peter Ankerstål wrote: On Mar 24, 2009, at 8:00 PM, Charles Sprickman wrote: dev.mpt.0.nonoptimal_volumes: 0 Don't test whether the nonoptimal_volumes parameter works, it does - but if you pull a drive, FreeBSD likes

Re: LSI Logic raid status

2009-03-24 Thread Ken Menzel
Scott Long wrote: Peter Ankerstål wrote: The instability during a rebuild should be fixed in 7.2 (and 7-stable as of about the last month). If you can, please update your sources and let me know if it helps. As for actually monitoring and configuring arrays, that work is in progress. Scott

Re: LSI Logic raid status

2009-03-24 Thread Charles Sprickman
On Tue, 24 Mar 2009, Marat N.Afanasyev wrote: Peter Ankerst?l wrote: On Mar 24, 2009, at 8:20 PM, Scott Long wrote: Peter Ankerst?l wrote: On Mar 24, 2009, at 8:00 PM, Charles Sprickman wrote: dev.mpt.0.nonoptimal_volumes: 0 Don't test whether the nonoptimal_volumes parameter works, it

USEVC option in libc resolv [tcp DNS], how?

2009-03-24 Thread grarpamp
How to set and use the RES_USEVC / usevc option as mentioned in: /usr/src/lib/libc/net/resolver.3 /usr/src/include/resolv.h /usr/src/lib/libc/net/res_debug.c /usr/src/share/man/man5/resolver.5 # options statement / env_var The usevc option does not work when used in place of the debug option

Re: LSI Logic raid status

2009-03-24 Thread Miroslav Lachman
Peter Ankerstål wrote: On Mar 24, 2009, at 8:50 PM, Marat N.Afanasyev wrote: Scott Im running RELENG_7 cvsuped and built like 15 hours ago. I still have this problem. Please come back to me if you want some additional information about the setup. -- Peter Ankerstål pe...@pean.org

Re: setting quotas from inside a jail

2009-03-24 Thread Charles Sprickman
On Tue, 24 Mar 2009, Michael R. Wayne wrote: On Tue, Mar 24, 2009 at 03:05:05AM -0400, Charles Sprickman wrote: The subject describes my goal. I'm aware of the usual caveats - if there's more than one jail, no UID overlap, this will really only work in one jail if all jails are on the same

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Andrew Snow
Mikhail T. wrote: dump 0aCf 64 /ibm/ibmo.0.2009-03-24.dump /old DUMP: WARNING: should use -L when dumping live read-write filesystems! I thought you said it was a read-only filesystem? In my experience, restore can sometimes throw warnings if you dump a live filesystem. It might be

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Yoshihiro Ota
On Tue, 24 Mar 2009 02:30:37 -0400 Mikhail T. mi+t...@aldan.algebra.com wrote: Daniel O'Connor написав(ла): On Tuesday 24 March 2009 11:55:07 Mikhail T. wrote: I'm trying to migrate a filesystem from one disk to another using: dump a0hCf 0 32 - /old | restore -rf - (/old is

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Andrew Snow написав(ла): Mikhail T. wrote: dump 0aCf 64 /ibm/ibmo.0.2009-03-24.dump /old DUMP: WARNING: should use -L when dumping live read-write filesystems! I thought you said it was a read-only filesystem? It was yesterday. Today I remounted it rw to remove some junk-files,

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Daniel O'Connor
On Wednesday 25 March 2009 11:48:56 Mikhail T. wrote: Andrew Snow написав(ла): Mikhail T. wrote: dump 0aCf 64 /ibm/ibmo.0.2009-03-24.dump /old DUMP: WARNING: should use -L when dumping live read-write filesystems! I thought you said it was a read-only filesystem? It was

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Daniel O'Connor написав(ла): morning is still hanging (in sbwait) -- I've never seen this before. I'm also very troubled, that such an important functionality (dump/restore!) is sooo problem-prone, and yet so few people seem to care... Well, works for me. Well, would like a login on

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Yoshihiro Ota написав(ла): No big difference: dump a0f - /old | restore -rf - [...] DUMP: 17.25% done, finished in 3:27 at Tue Mar 24 05:42:00 2009 DUMP: 20.36% done, finished in 3:09 at Tue Mar 24 05:28:13 2009 DUMP: 23.83% done, finished in 2:50 at Tue Mar 24

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Andrew Snow
Mikhail T. wrote: Now can one get /real/ support for the most basic functionality of the most advanced modern Unix in the world? Thanks, I think before this goes any further, you will need to try rebooting/unmouting it, running fsck on it, and then dump the unmounted partition and see how that

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Daniel O'Connor
On Wednesday 25 March 2009 12:38:04 Mikhail T. wrote: Daniel O'Connor написав(ла): morning is still hanging (in sbwait) -- I've never seen this before. I'm also very troubled, that such an important functionality (dump/restore!) is sooo problem-prone, and yet so few people seem to care...

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Andrew Snow написав(ла): Mikhail T. wrote: Now can one get /real/ support for the most basic functionality of the most advanced modern Unix in the world? Thanks, I think before this goes any further, you will need to try rebooting/unmouting it, running fsck on it, and then dump the

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Daniel O'Connor написав(ла): That said, I point out, that for me, dump is not failing (although it did hang this morning). It is the restore, which fails to read dump's output: You can't tell the difference between dump producing mangled output or restore bombing out on valid input..

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Daniel O'Connor
On Wednesday 25 March 2009 13:10:23 Mikhail T. wrote: Now can one get /real/ support for the most basic functionality of the most advanced modern Unix in the world? Thanks, Maybe you should return it to the shop and ask for your money back. -- Daniel O'Connor software and network engineer for

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Daniel O'Connor написав(ла): On Wednesday 25 March 2009 13:10:23 Mikhail T. wrote: Now can one get /real/ support for the most basic functionality of the most advanced modern Unix in the world? Thanks, Maybe you should return it to the shop and ask for your money back. Well, if

support quality (Re: dump | restore fails: unknown tape header type 1853384566)

2009-03-24 Thread Mikhail T.
Daniel O'Connor написав(ла): People ARE helping you, just because they haven't come up with an answer is no reason to send snarky comments to the list. No, sorry, people aren't. They are trying, yes, but not even close. The suggestion to eliminate the -a switch (a no-op, in fact) was

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mikhail T.
Andrew Snow написав(ла): I think before this goes any further, you will need to try rebooting/unmouting it, running fsck on it, and then dump the unmounted partition and see how that goes. Rebooted, reran `fsck -y /old' (all clean). Same problem... -mi

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Mark Kirkwood
Mikhail T. wrote: That said, I point out, that for me, dump is not failing (although it did hang this morning). It is the restore, which fails to read dump's output: unknown tape header type 213474529 abort? [yn] n resync restore, skipped 502 blocks expected next file 54, got 0

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Greg Black
On 2009-03-24, Mikhail T. wrote: That's true. I just wanted to point out, that someone running dump only (to make backups) is not going to know, whether his dumps are usable (for whichever of the two reasons), until he needs them... Such a person is not making backups and deserves what he

Re: [PREVIEW] Nouveau on FreeBSD (Take 2)

2009-03-24 Thread wsk
Robert Noland wrote: On Tue, 2009-03-24 at 12:19 +0800, wsk wrote: Robert Noland wrote: On Mon, 2009-03-23 at 09:28 +0800, wsk wrote: Ok, this patch should work on NV50 chips also. What you get is EXA and Xv. You still need: A recent -CURRENT or