Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Add Second Hard Drive (Solved)

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 5 Posters 6.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      Guest
      last edited by

      You'll find nano is a much friendlier editor than vi.

      vi is a bit like Marmite, you either love it or hate it, personally I hate it hence the nano.

      You will probably have to install nano first though.

      pkg install nano

      1 Reply Last reply Reply Quote 0
      • NollipfSenseN
        NollipfSense
        last edited by

        @marjohn56:

        You'll find nano is a much friendlier editor than vi.

        vi is a bit like Marmite, you either love it or hate it, personally I hate it hence the nano.

        You will probably have to install nano first though.

        pkg install nano

        Thank you Marjohn56 for responding…LOL...it's tricky isn't it! Can you help me on how to move all those files in my first post?

        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          Cannot help you with that, as I use single SSD's with zfs.

          For me, RAID or anything like that is just not worth it. I use RAM for temp, and I minimise writes where I can, a decent SSD will probably last a minimum of 10 years.

          If not, it takes me only a few minutes if needed to insert a new drive, re-install pfSense and restore my configs.

          1 Reply Last reply Reply Quote 0
          • JailerJ
            Jailer
            last edited by

            @marjohn56:

            You'll find nano is a much friendlier editor than vi.

            vi is a bit like Marmite, you either love it or hate it, personally I hate it hence the nano.

            You will probably have to install nano first though.

            pkg install nano

            Or just use ee since it's already installed.

            Another vi hater here…....

            1 Reply Last reply Reply Quote 0
            • NollipfSenseN
              NollipfSense
              last edited by

              @marjohn56:

              Cannot help you with that, as I use single SSD's with zfs.

              For me, RAID or anything like that is just not worth it. I use RAM for temp, and I minimise writes where I can, a decent SSD will probably last a minimum of 10 years.

              If not, it takes me only a few minutes if needed to insert a new drive, re-install pfSense and restore my configs.

              Mine is not a raid setup…just a 16GB SSD and a 500GB 2.5 SATA 3 hard drive both with ufs. I was thinking of a single disk SSD with zfs...got cautioned that it's not worth it for a single HDD.

              pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
              pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                Not in the context that if the drive fails completely no, it's not. I had also thought it not worth it, but was advised by someone who has far greater knowledge then I that it is worth it.

                Here's a nice thread where I think the benefits of single drive ZFS are discussed, you make your own mind up.

                https://forums.freenas.org/index.php?threads/single-drive-zfs.35515/

                1 Reply Last reply Reply Quote 1
                • NollipfSenseN
                  NollipfSense
                  last edited by

                  @marjohn56:

                  Not in the context that if the drive fails completely no, it's not. I had also thought it not worth it, but was advised by someone who has far greater knowledge then I that it is worth it.

                  Here's a nice thread where I think the benefits of single drive ZFS are discussed, you make your own mind up.

                  https://forums.freenas.org/index.php?threads/single-drive-zfs.35515/

                  Will read up later…for now, I am committed since I already bought two HDD.

                  pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                  pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                  1 Reply Last reply Reply Quote 0
                  • NollipfSenseN
                    NollipfSense
                    last edited by

                    So, I found two resources…https://www.freebsd.org/doc/en/books/faq/disks.html#idp59342184 section 8.2; however, after reading, I realized that it's for moving the entire content to another HDD.

                    Then, this one https://forums.freebsd.org/threads/62272/ which seems to apply to my needs; however, after trying the first command, I get command not found, and if I used just the [[color=red]sudo -i], I also get command not found,

                    So, I am a little nervous to try the rest of the command…maybe, I'll try after lunch.  ???

                    pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                    pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                    1 Reply Last reply Reply Quote 0
                    • NollipfSenseN
                      NollipfSense
                      last edited by

                      Okay, got it solved by tarfile command to extract the /usr/ direstory…the entire directory from ada0 to the newdisk (ada1). From what I understand the mv command is more effective for single files or group of files.

                      So, at the local shell, change to usr directory: cd /usr/
                      at the usr diredtory type: tar -C /usr -cf - * | tar -C /newdisk -xvf -

                      After the completion, reboot…walla! Hope this helps some one out.

                      ![Screen Shot 2017-12-09 at 5.50.47 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2017-12-09 at 5.50.47 PM.png_thumb)
                      ![Screen Shot 2017-12-09 at 5.50.47 PM.png](/public/imported_attachments/1/Screen Shot 2017-12-09 at 5.50.47 PM.png)

                      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        lshantz @NollipfSense
                        last edited by

                        So I came across this and I know it is a little stale, but thanks for the tips.

                        I'm quite comfortable with VI, so that was no issue.

                        I was just wondering why you didn't create a symbolic link? I think that would be actually simpler. I'm not clear if that will go away after a reboot, or a firmware/os update. I wanted to offload my Pfblocker data. I set it up yesterday and within a few hours it has filled up my var partition.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.