Re: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Damien Fleuriot


On 20 Oct 2011, at 05:24, Dennis Glatting free...@penx.com wrote:

 
 
 On Thu, 20 Oct 2011, Fajar A. Nugraha wrote:
 
 On Thu, Oct 20, 2011 at 7:56 AM, Dave Pooser dave@alfordmedia.com 
 wrote:
 On 10/19/11 9:14 AM, Albert Shih albert.s...@obspm.fr wrote:
 
 When we buy a MD1200 we need a RAID PERC H800 card on the server
 
 No, you need a card that includes 2 external x4 SFF8088 SAS connectors.
 I'd recommend an LSI SAS 9200-8e HBA flashed with the IT firmware-- then
 it presents the individual disks and ZFS can handle redundancy and
 recovery.
 
 Exactly, thanks for suggesting an exact controller model that can
 present disks as JBOD.
 
 With hardware RAID, you'd pretty much rely on the controller to behave 
 nicely, which is why I suggested to simply create one big volume for zfs to 
 use (so you pretty much only use features like snapshot, clones, etc, but 
 don't use zfs self healing feature). Again, others might (and have) disagree 
 and suggest using volumes for individual disk (even when you're still 
 relying on hardware RAID controller). But ultimately there's no question 
 that the best possible setup would be to present the disks as JBOD and let 
 zfs handle it directly.
 
 
 I saw something interesting and different today, which I'll just throw out.
 
 A buddy has a HP370 loaded with disks (not the only machine that provides 
 these services, rather the one he was showing off). The 370's disks are 
 managed by the underlying hardware RAID controller, which he built as 
 multiple RAID1 volumes.
 
 ESXi 5.0 is loaded and in control of the volumes, some of which are 
 partitioned. Consequently, his result is vendor supported interfaces between 
 disks, RAID controller, ESXi, and managing/reporting software.
 
 The HP370 has multiple FreeNAS instances whose disks are the disks 
 (volumes/partitions) from ESXi (all on the same physical hardware). The 
 FreeNAS instances are partitioned according to their physical and logical 
 function within the infrastructure, whether by physical or logical 
 connections. The FreeNAS instances then serves its disks to consumers.
 
 We have not done any performance testing. Generally, his NAS consumers are 
 not I/O pigs though we want the best performance possible (some consumers are 
 over the WAN resulting in any HP/ESXi/FreeNAS performance issues possibly 
 moot). (I want to do some performance testing because, well, it may have 
 significant amusement value.) A question we have is whether ZFS (ARC, maybe 
 L2ARC) within FreeNAS is possible or would provide any value.
 


Possible, yes.
Provides value, somewhat.

You still get to use snapshots, compression, dedup...
You don't get ZFS self healing though which IMO is a big loss.

Regarding the ARC, it totally depends on the kind of files you serve and the 
amount of RAM you have available.

If you keep serving huge, different files all the time, it won't help as much 
as when clients request the same small/avg files over and over 
again.___
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: Upgrading from 6.2-RELEASE?

2011-10-20 Thread Odhiambo Washington
On Wed, Oct 19, 2011 at 21:55, Kurt Buff kurt.b...@gmail.com wrote:

 I have gotten custody of an old machine running the aforementioned,
 and it's in production. I can take it down for a couple of hours if
 necessary, but would prefer to have it down as little as possible.

 What are my options for getting it to a supported release - looking at
 the handbook it doesn't appear the the freebsd-update utility will
 work in this case, as it's not 6.3? Can I, for instance, boot from a
 CD of a supported version and do an upgrade, or am I stuck doing a
 download of sorce for 7.0-RELEASE, compiling that, and then an
 freebsd-update to 7.4?


You can ignore everything you have been told so far and head to
http://people.freebsd.org/~rse/upgrade/ and follow the procedures there, one
at a time, and you will be able to update your box all the way to FreeBSD
9.x !!
I have used them before to upgrade several boxes. I prompted RSE to write
the 8.x-9.x procedure and I tested it step by step and I am currently
running 9.0-BETA3 on one of my boxes:

[wash@jaribu ~]$ uname -a
FreeBSD jaribu.kictanet.or.ke 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Fri Oct  7
14:11:20 EAT 2011 r...@jaribu.kictanet.or.ke:/usr/obj/usr/src/sys/GW
  i386

So what you need is to upgrade to RELENG_6 first, using csup/cvsup, then
start the procedures of 6.x-7.x, 7.x-8.x and if you want, 8.x-9.x

Good luck!


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
___
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: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Albert Shih
 Le 19/10/2011 à 21:30:31+0700, Fajar A. Nugraha a écrit
  Sorry to cross-posting. I don't knwon which mailing-list I should post this
  message.
 
  I'll would like to use FreeBSD with ZFS on some Dell server with some
  MD1200 (classique DAS).
 
  When we buy a MD1200 we need a RAID PERC H800 card on the server so we have
  two options :
 
         1/ create a LV on the PERC H800 so the server see one volume and put
         the zpool on this unique volume and let the hardware manage the
         raid.
 
         2/ create 12 LV on the perc H800 (so without raid) and let FreeBSD
         and ZFS manage the raid.
 
  which one is the best solution ?
 
 Neither.
 
 The best solution is to find a controller which can pass the disk as
 JBOD (not encapsulated as virtual disk). Failing that, I'd go with (1)
 (though others might disagree).

Thanks. That's going to be very complicate...but I'm going to try. 

 
 
  Any advise about the RAM I need on the server (actually one MD1200 so 
  12x2To disk)
 
 The more the better :)

Well, my employer is not so rich. 

It's first time I'm going to use ZFS on FreeBSD on production (I use on my
laptop but that's mean nothing), so what's in your opinion the minimum ram
I need ? Is something like 48 Go is enough ? 

 Just make sure do NOT use dedup untul you REALLY know what you're
 doing (which usually means buying lots of RAM and SSD for L2ARC).

Ok. 

Regards.

JAS
--
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 20 oct 2011 11:30:49 CEST
___
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: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Fajar A. Nugraha
On Thu, Oct 20, 2011 at 4:33 PM, Albert Shih albert.s...@obspm.fr wrote:
  Any advise about the RAM I need on the server (actually one MD1200 so 
  12x2To disk)

 The more the better :)

 Well, my employer is not so rich.

 It's first time I'm going to use ZFS on FreeBSD on production (I use on my
 laptop but that's mean nothing), so what's in your opinion the minimum ram
 I need ? Is something like 48 Go is enough ?

If you don't use dedup (recommended), should be more than enough.

If you use dedup, search zfs-discuss archive for some calculation method posted.

For comparison purposes, you could also look at Oracle's zfs storage
appliance configuration:
https://shop.oracle.com/pls/ostore/f?p=dstore:product:3479784507256153::NO:RP,6:P6_LPI,P6_PROD_HIER_ID:424445158091311922637762,114303924177622138569448

-- 
Fajar
___
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: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Albert Shih
 Le 19/10/2011 à 10:52:07-0400, Krunal Desai a écrit
 On Wed, Oct 19, 2011 at 10:14 AM, Albert Shih albert.s...@obspm.fr wrote:
  When we buy a MD1200 we need a RAID PERC H800 card on the server so we have
  two options :
 
         1/ create a LV on the PERC H800 so the server see one volume and put
         the zpool on this unique volume and let the hardware manage the
         raid.
 
         2/ create 12 LV on the perc H800 (so without raid) and let FreeBSD
         and ZFS manage the raid.
 
  which one is the best solution ?
 
  Any advise about the RAM I need on the server (actually one MD1200 so 
  12x2To disk)
 
 I know the PERC H200 can be flashed with IT firmware, making it in
 effect a dumb HBA perfect for ZFS usage. Perhaps the H800 has the
 same? (If not, can you get the machine configured with a H200?)

I'm not sure what you mean when you say «H200 flashed with IT firmware» ? 

 If that's not an option, I think Option 2 will work. My first ZFS
 server ran on a PERC 5/i, and I was forced to make 8 single-drive RAID
 0s in the PERC Option ROM, but Solaris did not seem to mind that.

OK.

I don't have choice (too complexe to explain and it's meanless here) but I
can only buy at Dell at this moment. 

On the Dell website I've the choice between : 


SAS 6Gbps External Controller
PERC H800 RAID Adapter for External JBOD, 512MB Cache, PCIe 
PERC H800 RAID Adapter for External JBOD, 512MB NV Cache, PCIe 
PERC H800 RAID Adapter for External JBOD, 1GB NV Cache, PCIe
PERC 6/E SAS RAID Controller, 2x4 Connectors, External, PCIe 256MB Cache
PERC 6/E SAS RAID Controller, 2x4 Connectors, External, PCIe 512MB Cache
LSI2032 SCSI Internal PCIe Controller Card

I've no idea what's the first thing is. But what I understand the best
solution is the first or the last ? 

Regards.

JAS

-- 
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
jeu 20 oct 2011 11:44:39 CEST
___
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: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Damien Fleuriot
On 10/20/11 11:49 AM, Albert Shih wrote:
  Le 19/10/2011 à 10:52:07-0400, Krunal Desai a écrit
 On Wed, Oct 19, 2011 at 10:14 AM, Albert Shih albert.s...@obspm.fr wrote:
 When we buy a MD1200 we need a RAID PERC H800 card on the server so we have
 two options :

1/ create a LV on the PERC H800 so the server see one volume and put
the zpool on this unique volume and let the hardware manage the
raid.

2/ create 12 LV on the perc H800 (so without raid) and let FreeBSD
and ZFS manage the raid.

 which one is the best solution ?

 Any advise about the RAM I need on the server (actually one MD1200 so 
 12x2To disk)

 I know the PERC H200 can be flashed with IT firmware, making it in
 effect a dumb HBA perfect for ZFS usage. Perhaps the H800 has the
 same? (If not, can you get the machine configured with a H200?)
 
 I'm not sure what you mean when you say «H200 flashed with IT firmware» ? 
 
 If that's not an option, I think Option 2 will work. My first ZFS
 server ran on a PERC 5/i, and I was forced to make 8 single-drive RAID
 0s in the PERC Option ROM, but Solaris did not seem to mind that.
 
 OK.
 
 I don't have choice (too complexe to explain and it's meanless here) but I
 can only buy at Dell at this moment. 
 
 On the Dell website I've the choice between : 
 
 
   SAS 6Gbps External Controller
   PERC H800 RAID Adapter for External JBOD, 512MB Cache, PCIe 
   PERC H800 RAID Adapter for External JBOD, 512MB NV Cache, PCIe 
   PERC H800 RAID Adapter for External JBOD, 1GB NV Cache, PCIe
   PERC 6/E SAS RAID Controller, 2x4 Connectors, External, PCIe 256MB Cache
   PERC 6/E SAS RAID Controller, 2x4 Connectors, External, PCIe 512MB Cache
   LSI2032 SCSI Internal PCIe Controller Card
 
 I've no idea what's the first thing is. But what I understand the best
 solution is the first or the last ? 
 
 Regards.
 
 JAS
 


The best solution is to get a dumb HBA which will present your drives
directly to the OS (JBOD), then create your ZFS pools there.

Many people have already recommended LSI because it's widely used on the
list.

Also, what do they mean by SAS 6Gbps External Controller ?
___
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: My tribute to Dennis Ritchie

2011-10-20 Thread Michael M
On Wed, Oct 19, 2011 at 5:07 PM, Paul Schmehl pschmehl_li...@tx.rr.comwrote:

 # grep -ir Ritchie /usr/src/*
 /usr/src/bin/cat/cat.1:.An Dennis Ritchie
 /usr/src/contrib/ntp/util/**ansi2knr.1:ansi2knr \- convert ANSI C to
 Kernighan  Ritchie C
 /usr/src/contrib/tcpdump/**print-rx.c: * Sigh.  This is gross.
  Ritchie forgive me.
 /usr/src/games/fortune/**datfiles/fortunes:   -- Dennis M.
 Ritchie
 /usr/src/games/fortune/**datfiles/fortunes:   -- Ken Thompson
 and Dennis M. Ritchie
 /usr/src/games/fortune/**datfiles/fortunes:   -- Dennis M.
 Ritchie
 /usr/src/games/fortune/**datfiles/fortunes:   -- Dennis M.
 Ritchie
 /usr/src/games/fortune/**datfiles/fortunes:Dennis Ritchie is twice as
 bright as Steve Jobs, and only half wrong.
 /usr/src/games/fortune/**datfiles/fortunes:   -- Dennis M.
 Ritchie
 /usr/src/games/fortune/**datfiles/fortunes:Ritchie's Rule:
 /usr/src/games/fortune/**datfiles/fortunes:   -- Dennis M.
 Ritchie
 /usr/src/lib/libc/rpc/PSD.doc/**xdr.rfc.ms:[1]  Brian W. Kernighan 
 Dennis M. Ritchie, The C Programming
 /usr/src/lib/libcompat/regexp/**README:a V8 manual page sent to me by
 Dennis Ritchie (the manual page enclosed
 /usr/src/sbin/fsck_ffs/SMM.**doc/3.t:I thank Bill Joy, Sam Leffler, Robert
 Elz and Dennis Ritchie
 /usr/src/sbin/fsck_ffs/SMM.**doc/3.t:.IP [Ritchie78] 20
 /usr/src/sbin/fsck_ffs/SMM.**doc/3.t:Ritchie, D. M., and Thompson, K.,
 /usr/src/share/doc/papers/**devfs/paper.me:published on UNIX by Ritchie
 and Thompson [Ritchie74]:
 /usr/src/share/doc/papers/**devfs/paper.me:The initial implementation used
 hardcoded inode numbers [Ritchie98].
 /usr/src/share/doc/papers/**devfs/paper.me:[Ritchie74]
 /usr/src/share/doc/papers/**devfs/paper.me:D.M. Ritchie and K. Thompson:
 /usr/src/share/doc/papers/**devfs/paper.me:[Ritchie98]
 /usr/src/share/doc/papers/**devfs/paper.me:Dennis Ritchie: private
 conversation at USENIX Annual Technical Conference
 /usr/src/share/doc/papers/**fsinterface/fsinterface.ms:fil**esystem
 [Ritchie74],
 /usr/src/share/doc/papers/**fsinterface/fsinterface.ms:.IP Ritchie74
 /usr/src/share/doc/papers/**fsinterface/fsinterface.ms:Rit**chie, D.M. and
 K. Thompson, ``The Unix Time-Sharing System,''
 /usr/src/share/doc/papers/**kerntune/4.t:.IP [Ritchie74] 20
 /usr/src/share/doc/papers/**kerntune/4.t:Ritchie, D. M. and Thompson, K.,
 /usr/src/share/doc/papers/**malloc/malloc.ms:studied in the ``Old
 testament'', chapter 8 verse 7 [Kernighan  Ritchie]
 /usr/src/share/doc/papers/**sysperf/7.t:.IP [Ritchie74] 20
 /usr/src/share/doc/papers/**sysperf/7.t:Ritchie, D. M. and Thompson, K.,
 /usr/src/share/doc/psd/01.**cacm/p1:D. M. Ritchie and K. Thompson
 /usr/src/share/doc/psd/01.**cacm/p1:c programming language kernighan
 ritchie prentice-hall
 /usr/src/share/doc/psd/01.**cacm/ref.bib:%A D. M. Ritchie
 /usr/src/share/doc/psd/02.**implement/implement:ritchie thompson unix bstj
 1978
 /usr/src/share/doc/psd/02.**implement/ref.bib:%A D. M. Ritchie
 /usr/src/share/doc/psd/03.**iosys/iosys:Dennis M. Ritchie
 /usr/src/share/doc/psd/04.**uprog/p0:Dennis M. Ritchie
 /usr/src/share/doc/psd/04.**uprog/p8:K. L. Thompson and D. M. Ritchie,
 /usr/src/share/doc/psd/04.**uprog/p8:B. W. Kernighan and D. M. Ritchie,
 /usr/src/share/doc/psd/04.**uprog/p9:D. M. Ritchie
 /usr/src/share/doc/psd/06.**Clang/Clang.ms:Dennis M. Ritchie
 /usr/src/share/doc/psd/06.**Clang/Clang.ms:by Brian W. Kernighan and
 Dennis M. Ritchie, Prentice-Hall, Inc., 1978.
 /usr/src/share/doc/psd/15.**yacc/ref.bib:%A D. M. Ritchie
 /usr/src/share/doc/psd/15.**yacc/ss0:Ritchie Kernighan Language Prentice
 /usr/src/share/doc/psd/15.**yacc/ssB:D. M. Ritchie, B. W. Kernighan, and
 M. O. Harris helped translate this document into English.
 /usr/src/share/doc/psd/16.lex/**lex.ms:B. W. Kernighan and D. M. Ritchie,
 /usr/src/share/doc/psd/16.lex/**lex.ms:B. W. Kernighan, D. M. Ritchie and
 K. L. Thompson,
 /usr/src/share/doc/psd/16.lex/**lex.ms:D. M. Ritchie,
 /usr/src/share/doc/psd/17.m4/**m4.ms:Dennis M. Ritchie
 /usr/src/share/doc/psd/17.m4/**m4.ms:which was written by D. M. Ritchie
 /usr/src/share/doc/psd/20.**ipctut/tutor.me:[Kernighan  Ritchie 1978],
 /usr/src/share/doc/psd/20.**ipctut/tutor.me:B.W. Kernighan  D.M. Ritchie,
 1978,
 /usr/src/share/doc/psd/**contents/contents.ms:Dennis Ritchie and Ken
 Thompson's original paper about UNIX, reprinted
 /usr/src/share/doc/psd/**contents/contents.ms:Dennis Ritchie's overview of
 the I/O System of Version 7; still helpful for
 /usr/src/share/doc/psd/**contents/contents.ms:B.W. Kernighan and D.M.
 Ritchie, Prentice-Hall, 1978, that
 /usr/src/share/doc/smm/05.**fastfs/1.t:[Ritchie74], [Thompson78].*
 /usr/src/share/doc/smm/05.**fastfs/6.t:We also acknowledge Dennis Ritchie
 for his suggestions
 /usr/src/share/doc/smm/05.**fastfs/6.t:.IP [Ritchie74] 20
 /usr/src/share/doc/smm/05.**fastfs/6.t:Ritchie, D. M. and Thompson, K.,
 /usr/src/share/man/man9/style.**9:Dennis Ritchie in
 

Re: Bad sector in UFS2 journal area

2011-10-20 Thread Ivan Voras
On 20/10/2011 05:49, Ross wrote:
 I don't actually have this problem, I'm just curious. What will happen
 if read fails on sector in UFS2 journal area? Sector won't get
 remapped until write, so reads will be failing until then.
 
 I've had experience with bad sectors with non-journaled filesystems —
 the system was online and working. The only problem was that
 particular file and messages in /var/log/messages until the Current
 Pending Sector counter was cleared and sector was remapped.
 
 Will it be the same (online system) with bad sector in journal area?
 And will it damage the filesystem?

Well, SUJ is new enough that there's no general disseminated knowledge
about it, but from a quick look at the code:

1) the journal recovery is only ever done in the fsck_ffs program, so
it's unlikely that the kernel will panic from a bad sector
2) if the journal cannot be read at any point, the recovery code
*should* offer the user to nuke the journal and perform a normal, full
fsck, which presumably should leave the file system in a usable state
3) journal writes are done via the normal mechanisms, so it also
shouldn't lead to kernel panics on bad sectors, but the normal
cannot-write-to-device kernel error message and continued operation.




signature.asc
Description: OpenPGP digital signature


pkg_version: corrupted record (pkgdep line without argument), ignoring

2011-10-20 Thread Jerry
After attempting unsuccessfully to update KDE4 via portmaster, I
found a number of errors printed out when using pkg_version-vIL=.

I eventually used portmanager to update the KDE4 port successfully;
however, I am still receiving the following error messages.

These ports need updating:
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
koffice-kde4-2.3.3_3   needs updating (index has 2.3.3_5)
postgresql-client-8.2.21   needs updating (index has 8.2.22_1)

I have not found a way to ascertain which ports contain the corrupted
records. Originally, there were over a dozen of them but portmanager
fixed most of them for me. How can I determine what ports are still
damaged so that I might correct them.

-- 
Jerry ✌
jerry+f...@seibercom.net

Disclaimer: off-list followups get on-list replies or ignored.
Do not CC this poster. Please do not ignore the Reply-To header.

http://www.catb.org/~esr/faqs/smart-questions.html
___
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: pkg_version: corrupted record (pkgdep line without argument), ignoring

2011-10-20 Thread Alexandre
On Thu, Oct 20, 2011 at 3:20 PM, Jerry je...@seibercom.net wrote:

 After attempting unsuccessfully to update KDE4 via portmaster, I
 found a number of errors printed out when using pkg_version-vIL=.

 I eventually used portmanager to update the KDE4 port successfully;
 however, I am still receiving the following error messages.

 These ports need updating:
 pkg_version: corrupted record (pkgdep line without argument), ignoring
 pkg_version: corrupted record (pkgdep line without argument), ignoring
 pkg_version: corrupted record (pkgdep line without argument), ignoring
 koffice-kde4-2.3.3_3   needs updating (index has 2.3.3_5)
 postgresql-client-8.2.21   needs updating (index has 8.2.22_1)

 I have not found a way to ascertain which ports contain the corrupted
 records. Originally, there were over a dozen of them but portmanager
 fixed most of them for me. How can I determine what ports are still
 damaged so that I might correct them.

 --
 Jerry ✌
 jerry+f...@seibercom.net


Hi Jerry,

Have you tried this :
# portmaster --check-depends
# portmaster -Da

Source :
http://www.cyberciti.biz/faq/pkg_version-corrupted-record-pkgdep-line-without-argument-ignoring/

You can have a look on this thread, where Doug Barton (portmaster's author)
explain another way to resolve this problem.
http://groups.google.com/group/lucky.freebsd.ports/browse_thread/thread/e2054d1cfadc0e3a/66c038dfffb36d40?lnk=raotpli=1

Regards,
Alexandre
___
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: pkg_version: corrupted record (pkgdep line without argument), ignoring

2011-10-20 Thread Jason Helfman

On Thu, Oct 20, 2011 at 04:24:19PM +0200, Alexandre thus spake:

On Thu, Oct 20, 2011 at 3:20 PM, Jerry je...@seibercom.net wrote:


After attempting unsuccessfully to update KDE4 via portmaster, I
found a number of errors printed out when using pkg_version-vIL=.

I eventually used portmanager to update the KDE4 port successfully;
however, I am still receiving the following error messages.

These ports need updating:
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
koffice-kde4-2.3.3_3   needs updating (index has 2.3.3_5)
postgresql-client-8.2.21   needs updating (index has 8.2.22_1)

I have not found a way to ascertain which ports contain the corrupted
records. Originally, there were over a dozen of them but portmanager
fixed most of them for me. How can I determine what ports are still
damaged so that I might correct them.

--
Jerry ✌
jerry+f...@seibercom.net



Hi Jerry,

Have you tried this :
# portmaster --check-depends
# portmaster -Da

Source :
http://www.cyberciti.biz/faq/pkg_version-corrupted-record-pkgdep-line-without-argument-ignoring/

You can have a look on this thread, where Doug Barton (portmaster's author)
explain another way to resolve this problem.
http://groups.google.com/group/lucky.freebsd.ports/browse_thread/thread/e2054d1cfadc0e3a/66c038dfffb36d40?lnk=raotpli=1


Try looking into reporting pkgs from the output of this too:

#!/bin/sh
grep -A1 ^@pkgdep $ /var/db/pkg/*/+CONTENTS

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Chuck Swiger
Hi--

On Oct 20, 2011, at 2:57 AM, Damien Fleuriot wrote:
 Also, what do they mean by SAS 6Gbps External Controller ?

SAS is serial attached SCSI; it permits multipath connections to devices and 
thus is more similar to fibre channel HBAs than SATA, although some SAS 
controllers will also work with normal SATA drives.

Regards,
-- 
-Chuck

___
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: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Damien Fleuriot


On 10/20/11 6:52 PM, Chuck Swiger wrote:
 Hi--
 
 On Oct 20, 2011, at 2:57 AM, Damien Fleuriot wrote:
 Also, what do they mean by SAS 6Gbps External Controller ?
 
 SAS is serial attached SCSI; it permits multipath connections to devices 
 and thus is more similar to fibre channel HBAs than SATA, although some SAS 
 controllers will also work with normal SATA drives.
 
 Regards,

I know what SAS stands for.

My question was, what do they mean by *external* controller ?

Do you get to provide your own ?
___
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: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Chuck Swiger
On Oct 20, 2011, at 9:59 AM, Damien Fleuriot wrote:
 SAS is serial attached SCSI; it permits multipath connections to devices 
 and thus is more similar to fibre channel HBAs than SATA, although some SAS 
 controllers will also work with normal SATA drives.
 
 I know what SAS stands for.

OK.

 My question was, what do they mean by *external* controller ?

It means the connections to the devices are external, rather than being 
intended for internal devices:

http://www.dell.com/content/topics/topic.aspx/global/products/pvaul/topics/en/us/raid_controller?c=usl=encs=555

 Do you get to provide your own ?

Devices?  Yes.

Regards,
-- 
-Chuck

___
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: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Krunal Desai
On Thu, Oct 20, 2011 at 5:49 AM, Albert Shih albert.s...@obspm.fr wrote:
 I'm not sure what you mean when you say «H200 flashed with IT firmware» ?

IT is Initiator Target, and many LSI chips have a version of their
firmware available that will put them into this mode, which is
desirable for ZFS. This is opposed to other LSI firmware modes like
IR which is RAID, I believe. (which you do not want). Since the H200
uses a LSI chip, you can download that firmware from LSI and flash it
to the card turning it into an IT-mode card and a simple HBA.

--khd
___
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: [zfs-discuss] ZFS on Dell with FreeBSD

2011-10-20 Thread Koopmann, Jan-Peter


 
 On the Dell website I've the choice between : 
 
 
SAS 6Gbps External Controller
PERC H800 RAID Adapter for External JBOD, 512MB Cache, PCIe 
PERC H800 RAID Adapter for External JBOD, 512MB NV Cache, PCIe 
PERC H800 RAID Adapter for External JBOD, 1GB NV Cache, PCIe
PERC 6/E SAS RAID Controller, 2x4 Connectors, External, PCIe 256MB Cache
PERC 6/E SAS RAID Controller, 2x4 Connectors, External, PCIe 512MB Cache
LSI2032 SCSI Internal PCIe Controller Card
 

The first one probably is a LSI card. However check with DELL (and if it is 
LSI, check what card exactly). And check if with that controller they support 
seeing all individual drives in the chassis as JBOD. 

Otherwise consider buying the chassis without the controller and get just the 
LSI from someone else. 

Regards,
  JP___
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: printing Cups Gutenprint

2011-10-20 Thread Open Slate
On Mon, Oct 17, 2011 at 9:49 PM, n dhert ndhert...@gmail.com wrote:
 Solved:
 # cups-genppdupdate
 # ps -jaxw | grep cupsd
 -- PID of cupsd deamon
 # kill -HUP PID

 2011/10/18 n dhert ndhert...@gmail.com

 I updated the ports :
 gutenprint-base-5.2.4_2                needs updating (index has 5.2.7)
 gutenprint-cups-5.2.4_2                needs updating (index has 5.2.7)
 now printing a text file
 $ lp testfile.txt
 doesn't print and
 $ lpstat -t
 says:
 printer psg is idle.  enabled since Tue Oct 18 08:55:19 2011
         The PPD version (5.2.4) is not compatible with Gutenprint 5.2.7.
 the file remains in the queue until it cancel it

 How to solve?
 There was nothing about that in /usr/ports/UPDATING ...

Perhaps this should be noted in /usr/ports/UPDATING

--
Gary Dunn
Open Slate Project
http://openslate.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


Enlightenment icon path

2011-10-20 Thread Open Slate
I have installed Enlightenment after Gnome.  My etc/rc.conf is now

moused_enable=YES
mouse_type=AUTO
dbus_enable=YES
hald_enable=YES
polkitd_enable=YES
#gnome_enable=YES

I have installed the xdm port and my ~/.xsession is

/usr/local/bin/enlightenment_start

I still use some Gnome apps. Gedit menus display all icons, Epiphany
web browser. does not. For example, on File menu, Open, Save As, Print
Preview, Print, and Close have icons to the left of the command. New
Tab, New Window, Page Setup, and Send Link by Email have the red X no
image icon. These all work in Gnome. Is there a path I need to set?

-- 
Gary Dunn
Open Slate Project
http://openslate.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


Enlightenment Power Off on system menu

2011-10-20 Thread Open Slate
My Enlightenment system menu has some useful commands disabled. Is
there a way to selectively enable them?

Enabled:
  Lock
  Log Out
  Cancel

Disabled:
  Power Off
  Suspend
  Reboot
  Hibernate

I want to enable Power Off and Reboot. I have never had any luck
getting FreeBSD to suspend, much less hibernate, so I am happy to
leave those disabled. I am trying to use xdm rather than gdm or kdm,
and lacking Power Off and Reboot on the system menu makes these tasks
awkward.

-- 
Gary Dunn
Open Slate Project
http://openslate.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


Enlightenment cpufreq gadget broken display

2011-10-20 Thread Open Slate
I added the cpugreq gadget to my shelf. It appears to be an analog
tachometer but the only data displayed is digital, just below the
center of where the tach needle should be. And the font makes to
number too small to be useful, even on the desktop. Anybody have a
working cpufreq gadget? The one in gnome work just fine.

-- 
Gary Dunn
Open Slate Project
http://openslate.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


Re: Enlightenment cpufreq gadget broken display

2011-10-20 Thread Eric Schuele

Gary,

Fwiw  You might try #e on freenode.  :)

-Eric

-Original message-
From: Open Slate openslatep...@gmail.com
To: freebsd-questions@freebsd.org
Sent: Thu, Oct 20, 2011 23:14:01 GMT+00:00
Subject: Enlightenment cpufreq gadget broken display

I added the cpugreq gadget to my shelf. It appears to be an analog
tachometer but the only data displayed is digital, just below the
center of where the tach needle should be. And the font makes to
number too small to be useful, even on the desktop. Anybody have a
working cpufreq gadget? The one in gnome work just fine.

--
Gary Dunn
Open Slate Project
http://openslate.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

___
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: Can't access a music CD (or any other media now)

2011-10-20 Thread Bernt Hansson

2011-10-20 03:25, Michael D. Norwick skrev:


with a data CD in the drive during reboot.
Trying to manually mount the drive results in;

$ sudo mount_cd9660 /dev/cd0 /media/dvdrom
mount_cd9660: /dev/cd0: Invalid argument


You have a typo in your mount command. The correct one would be;
mount_-t cd9660 /dev/cd0 /media/dvdrom


Thank You,
Michael

___
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