Freebsd change default Internet channel route
If you use route change command, you need to restart network service to apply the changes, e.g.: $ sudo /etc/rc.d/netif restart
If you use route change command, you need to restart network service to apply the changes, e.g.: $ sudo /etc/rc.d/netif restart
http://arpnetworks.com/ gives very affordable VPS solutions. You get VNC and serial console access, and can boot off an unmodified FreeBSD-8.0 release DVD in the “tray”, so you can rewrite your boot disk to your heart’s content. Very happy with them.
FreeNAS is a NAS solution, as such, some technical choices are hidden behind whatever firmware, system or GUI such appliance can use. If you get the partition schema used on a given disk inside a ZFS pool made with FreeNAS (small VM example): $ glabel status Name Status Components gptid/a699226f-bcc4-11e3-952d-0800271cd34d N/A ada4p2 gptid/a6cfc072-bcc4-11e3-952d-0800271cd34d N/A ada5p2 … Read more
Make sure you check your installed ports for vulnerable packages every so often : portaudit -Fda
Back in the old days we would do backups using “dd” of the entire disk. Therefore, we had the “c” slice so that we could do it all with one command. That’s why the “c” slice exists. DD isn’t perfect. If a disk is only 10% full you spend 90% of your time copying blocks … Read more
As root, dump the keyboard map to a file kbdcontrol -d > mykeys Change the file so “Ctrl+NumLock” will set “Scroll Lock”. Find line with scancode “base” 069, or where “nlock” fills the entire line. Edit column 3 from “nlock” to “slock”. The line now looks like: “069 nlock nlock slock nlock nlock nlock nlock … Read more
To get a disk serial requires that it is running and available: camcontrol identify <device> |grep ^serial (this might be (S)ATA specific) smartcl -i <device> |grep ^Serial reading the disk label once removed from the enclosure In your case, I think the 3rd solution is the only available. So, Assuming you just want first identify … Read more
I have never been fully satisfied with the ports system in a large environment — It always seems like you need to apply some external management to it in order to make it work well. My best tips (in order of ascending preference, “worst” solution to “best” solution): If you’re building on each host, don’t. … Read more
Use the du with its -A flag: root@pg78:/usr/local/pgsql/data/base/218204 # du -A -h 221350.219 1.0G 221350.219 root@pg78:/usr/local/pgsql/data/base/218204 # du -h 221350.219 501M 221350.219 Very handy. It even works with -d for recursive goodness: root@pg78:/usr/local/pgsql/data/base # du -h -c -d0 . 387G . 387G total root@pg78:/usr/local/pgsql/data/base # du -A -h -c -d0 . 518G . 518G total
Why, hello there Lars! That’s a fascinating question you’ve asked, and after some research I may have found an answer for you. According to this and other posts out there, it may be possible to set the VFCF_JAIL attribute on the NFS filesystem provider, which would in theory allow jails to perform NFS mounts. This … Read more