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

    Second Hard Drive Content

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 2 Posters 966 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.
    • NollipfSenseN
      NollipfSense
      last edited by

      More than two months ago, I successfully added a second hard rive and transfer all content of /usr to that second drive. However, that drive status on Dashboard hasn't shown any sign that it's recording content of the user…see "newdisk" in  pic.

      What command to use to see that indeed it's storing files? When I did the moving, the OS disk (ada0) was at 14%.
      ![Screen Shot 2018-02-28 at 7.32.32 PM.png](/public/imported_attachments/1/Screen Shot 2018-02-28 at 7.32.32 PM.png)
      ![Screen Shot 2018-02-28 at 7.32.32 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2018-02-28 at 7.32.32 PM.png_thumb)

      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
      • JKnottJ
        JKnott
        last edited by

        Did you provide a symbolic link from the mount point to the new drive?

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

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

          @JKnott:

          Did you provide a symbolic link from the mount point to the new drive?

          Thank you JKnott for responding and great question. I had used Tar to copy and move /usr to the newdisk as described here: https://forum.pfsense.org/index.php?topic=141093.0  So, I had the assumption that all was okay…no wonder I could not see content of the newdisk claiming I didn't have permission despite being the root user.

          So, I looked up symbolic link here: https://www.freebsd.org/cgi/man.cgi?query=link&sektion=2...of course, they could not show the command typed out for one to follow the description in order for one to understand. From my understanding, would this work:

          link (const char ada0/usr, const char ada1/usr)

          I take it that I would need to transfer the ada0/usr to ada1 again using Tar.

          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
          • JKnottJ
            JKnott
            last edited by

            I've never tried a symbolic link in BSD, but in Linux it's ln -s <destination>.  It appears to be the same for BSD.  What you want to do is mount the new partition and then move the data to it.  Then create the symbolic link.  Another way is to use the existing /usr as the mount point for that partition.  You'd still have to move the data first.  One thing about *nix is it's very flexible in that you often have multiple ways to do things.

            I don't know how comfortable you are working with BSD, so you may want to do some reading on system administration.</destination>

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            1 Reply Last reply Reply Quote 0
            • JKnottJ
              JKnott
              last edited by

              One other thing, why are you moving /usr?  That's part of the BSD installation.  Usually, it's /home, where users keep there stuff that's on a separate drive.  I wouldn't expect you'd have a lot of users on pfSense.

              PfSense running on Qotom mini PC
              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
              UniFi AC-Lite access point

              I haven't lost my mind. It's around here...somewhere...

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

                @JKnott:

                One other thing, why are you moving /usr?  That's part of the BSD installation.  Usually, it's /home, where users keep there stuff that's on a separate drive.  I wouldn't expect you'd have a lot of users on pfSense.

                That's because ada0 is a 16GB SSD; and, it would be filled easily since I have Suricata, Snort, PFBlockerNG, and Squid, as well as adding Ntopng later when it updated. Only one user, it's I the administrator. Also, I have seen others done it as well, so it's not strange.

                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, I found the answer and it's working (/usr is been stored on newdisk)…it's just needs to be at 4GB to show up on the dashboard...see pic. I am still working on why I don't have permission to access it (newdisk) at the command line and I am the sole root user.

                  ![Screen Shot 2018-03-02 at 5.58.21 PM.png](/public/imported_attachments/1/Screen Shot 2018-03-02 at 5.58.21 PM.png)
                  ![Screen Shot 2018-03-02 at 5.58.21 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2018-03-02 at 5.58.21 PM.png_thumb)

                  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
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.