Lighthouse      Zap's Digital Lighthouse
   


About
Zap's Digital Lighthouse is
a Blosxom weblog for our digital outpost on the Internet

For info
info@rax.org


Useful links:
Google
Cyberpresse
The Reg
Slashdot
FreeBSD
LinkedIn
Twitter
Boursorama
RAX
zap
Soekris
xkcd
AirFrance
Wiki soekris
Wikipedia
Wiktionary
ACME
blosxom

Categories:
/FreeBSD (27)
/admin (3)
/blosxom (6)
/games (3)
/hardware (17)
/inet (4)
/misc (37)
/notwork (2)
/software (11)
/tech (1)

Archives:
 2023 (1)   
 | June (1)
 2021 (2)   
 | January (2)
 2020 (2)   
 | December (1)
 | September (1)
 2019 (2)   
 | November (1)
 | July (1)
 2018 (6)   
 | December (1)
 | November (3)
 | January (2)
 2017 (4)   
 | December (2)
 | January (2)
 2016 (3)   
 | November (1)
 | October (1)
 | January (1)
 2015 (9)   
 | December (2)
 | November (1)
 | October (1)
 | June (1)
 | May (2)
 | February (1)
 | January (1)
 2014 (9)   
 | December (1)
 | October (1)
 | September (1)
 | August (3)
 | May (2)
 | April (1)
 2013 (20)   
 | October (3)
 | June (4)
 | May (2)
 | April (7)
 | March (1)
 | January (3)
 2012 (60)   
 | December (4)
 | October (1)
 | July (5)
 | June (7)
 | May (1)
 | April (6)
 | March (3)
 | February (14)
 | January (19)
 2011 (3)   
 | December (1)
 | November (2)
 2008 (1)   
 | October (1)


Blosxom

       

Sun, 25 Jun 2023

News of the world

The News of the World

It's just been so long since I've posted something here, so let's give you all some news.


Three years ago, I replaced the Seagate 8TB external USB disk that I used on my home file server to perform weekly semi-offline backups with another Seagate disk after it had failed.

Well, the latest 8 TB Seagate disk failed again (it developed bad sectors). So this time, I bought a WD external USB disk for my backups.

So, once again, this is what I did to replace the disk:

  1. Unmount the ZFS volume

    # zfs unmount /localbackup or # zfs unmount datasink

  2. Disconnect the old drive

  3. Destroy the old ZFS pool

    # zpool destroy -f datasink

  4. Shutdown, connect the new drive, and reboot

    # shutdown -p now ... connect the drive and then reboot

  5. New disk ended up as da0 :

    da0 at umass-sim0 bus 0 scbus9 target 0 lun 0 da0: Fixed Direct Access SPC-4 SCSI device da0: 400.000MB/s transfers da0: 7630885MB (15628052480 512 byte sectors) da0: quirks=0x2

  6. Set up the new disk for ZFS

    # gpart destroy -F da0 # gpart create -s gpt da0 # gpart add -t freebsd-zfs -a4k -l WD8TB da0 # gnop create -S 4k /dev/gpt/WD8TB # zpool create -f -m none datasink gpt/WD8TB # zpool export datasink # gnop destroy gpt/WD8TB.nop # zpool import -d /dev/gpt datasink # zpool status # zfs set mountpoint=/localbackup datasink

  7. Run the local backup procedure once again

    # /root/localbackup.sh

Et voila! It was done.

I then ran my local backup procedure once again and we're back in business.


I should also mention that on /March 11th 2023/, I've switched from a 400 Mbps cable connection for my home internet connection to a 1Gbps fibre connection. This is a side-effect of my Internet Service Provider (Ebox.ca) being bought out by Bell and hence wanting its customers to use Bell's fibre infrastructure instead of Videotron's cable infrastructure.

Our building in downtown Montreal is wired for both Videotron and Bell, so it was relatively painless to switch.

The new speed is nice, especially since it now costs me a bit less for 1 Gbps than it used to cost me for 400 Mbps.

/FreeBSD | Posted at 20:53 | permanent link