Re: 10.4 release - is the binary update corrupt?

2017-10-08 Thread Dr. Nikolaus Klepp
Hi!

My notes suggest for this case:

pkg clean   # cleans /var/cache/pkg/
rm -rf /var/cache/pkg/* # just remove it all
pkg update -f   # forces update  of repository catalog
rm /var/db/pkg/repo-*.sqlite# removes all remote repository catalogs
pkg bootstrap -f# forces reinstall of pkg

Do NOT delete /var/db/pkg/local.sqlite! It contains the database with your 
installed packages. If you remove it the system will think you have nothing 
installed. 

Nik

Am Sonntag, 8. Oktober 2017 schrieb Dr Josef Karthauser:
> Hi,
> 
> I’m having trouble upgrading a 10.3 machine to 10.4: looks like something is 
> corrupt:
> 
> Fetching metadata signature for 10.4-RELEASE from update4.freebsd.org... done.
> Fetching metadata index... done.
> Fetching 1 metadata patches. done.
> Applying metadata patches... done.
> Fetching 1 metadata files... done.
> Inspecting system... done.
> Fetching files from 10.3-RELEASE for merging... done.
> Preparing to download files... done.
> Fetching 38573 
> patches.102030405060708090100110120130140…
> [cut]
> Applying patches... done.
> Fetching 9266 files...
> gunzip: (stdin): unexpected end of file
> efb4027db1ae440353955aa1bcfc9c69d1cafbdb53b4bfc6584d64b1e1bfd209 has 
> incorrect hash.
> 
> Has anyone else also seen this?
> 
> Cheers,
> Joe
> — 
> Dr Josef Karthauser
> Chief Technical Officer
> (01225) 300371 / (07703) 596893
> www.truespeed.com 
>   / theTRUESPEED  
>   @theTRUESPEED 
>  
> This email contains TrueSpeed information, which may be privileged or 
> confidential. It's meant only for the individual(s) or entity named above. If 
> you're not the intended recipient, note that disclosing, copying, 
> distributing or using this information is prohibited. If you've received this 
> email in error, please let me know immediately on the email address above. 
> Thank you.
> We monitor our email system, and may record your emails.
> 
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"



-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA, CIA ...
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: zfs, a directory that used to hold lot of files and listing pause

2016-10-20 Thread Dr. Nikolaus Klepp
Am Donnerstag, 20. Oktober 2016 schrieb Eugene M. Zheganin:
> Hi.
> 
> I have FreeBSD 10.2-STABLE r289293 (but I have observed this situation 
> on different releases) and a zfs. I also have one directory that used to 
> have a lot of (tens of thousands) files. I surely takes a lot of time to 
> get a listing of it. But now I have 2 files and a couple of dozens 
> directories in it (I sorted files into directories). Surprisingly, 
> there's still a lag between "ls" and an output:
> 
> 
> ===Cut===
> 
> # /usr/bin/time -h ls
> .recycle2016-01 2016-04 2016-07 2016-10 
> sort-files.sh
> 20142016-02 2016-05 2016-08 ktrace.out  
> sort-months.sh
> 20152016-03 2016-06 2016-09 old 
> sounds
>  5.75s real  0.00s user  0.02s sys
> 
> ===Cut===
> 
> 
> I've seen this situation before, on other servers, so it's not the first 
> time I encounter this. However, it's not 100% reproducible (I mean, if I 
> fill the directory with dozens of thousands of files, I will not 
> certainly get this lag after the deletion).
> 
> Has anyone seen this and does anyone know how to resolve this ? It's not 
> critical issue, but it makes thing uncomfortable here. One method I'm 
> aware of: you can move the contents of this directory to some other 
> place, then delete it and create again. But it's kind of a nasty workaround.


Hi!

I've the same issue, but only if the ZFS resides on a LSI MegaRaid and one 
RAID0 for each disk.

Nik


-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"