Add Second Hard Drive (Solved)
-
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
-
@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?
-
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.
-
@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…....
-
@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.
-
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/
-
@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.
-
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. ???
-
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) -
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.