Mark Knecht wrote: > > > On Wed, Sep 6, 2023 at 12:33 PM Dale <rdalek1...@gmail.com > <mailto:rdalek1...@gmail.com>> wrote: > > > > Mark Knecht wrote: > > > > > > > > > > > I have two drives and it sees them as one larger drive. No RAID or > > > > anything. At least not that I know of anyway. To be honest, I know > > > > very little about RAID. Read threads on it but never used it. > > > > > > > > Basically, I took two drives, I think they are 8 and a 10TB but > may be > > > > something else, and it sees them as one 18TB or something like that. > > > > I'm wanting to add a 6TB or something to that until I can get larger > > > > drives, maybe a better plan too. > > > > > > OK, you chose striped. That gives more space but no redundancy. If > > > one of those drives goes bad you probably lose everything. Better to > > > choose mirrored if you want your data to be safe, assuming you don't > > > have a second TrueNAS box or some way to back it up. > > > > > > Anyway, a simple NFS server with LVM sounds like it would make > > > you happy, and happy is or should be what life is about, so go make > > > yourself happy! ;-) > > > > > > But learn about and use RAID or you're dancing on the head of > > > a pin for reliability. > > > > > > Cheers, > > > Mark > > > > > > If you say so. Sounds right. ;-) Those drives are my backup. Some > > important things I have three copies of. Most stuff, my copies I work > > with on my main rig and then the backup copy. Odds of both failing > > should be small. After all, the drives spend most of their time > > unplugged and locked in a fire safe. A couple really important things I > > may not can replace, like family pictures, those I also have copies on > > DVD or something. It's not 100% fool proof but it is better than > > nothing at all. > > > > I hooked the drives back up. I'm going to try adding that drive again, > > if I can figure out how it is done. I feel like I'm looking at the > > option but don't know that is it. :/ > > > > Dale > > > > :-) :-) > > You should be able to add a drive to an existing striped pool. > > IIRC, because I'm not using TrueNAS at this time, you want to > look at your pool, then choose the three dots in the upper right. > > In a general Google search I would start with > > TrueNAS add drive to existing striped pool > > I see a number of reasonable looking pages but I've never > used a striped pool so YMMV. > > As for the Ubuntu Server / LVM question, why do you want > to partition a storage pool? Why not just leave it as one large > drive, place different data in different directories, and then > mount the directories over NFS as needed? > > You can still do backups of each directory and you have > no restrictions on data other than running out of disk space. > > Good luck, > Mark
The way I usually do a new drive, I partition the drive and name the partition. That way I know something is on it. The name usually, almost always, tells what VG it belongs too. One reason I do that is in case I'm replacing a drive with a new drive and I'm running cgdisk, I can be reasonably certain I'm working on the correct drive. If something shows up with a label of a VG, it's not new and empty. I tend to run smartctl -i to, just to be sure. Some don't partition but it's sometimes hard to tell there is data on it. Keep in mind, I have about a dozen drives in use here. It's a lot to keep up with. Also, when I buy a drive, I put the brand, size and last 4 or 5 digits of serial number on a piece of paper tape. I then stick that on the end of the drive where the connectors are. That way I can see exactly which is which when I am unhooking one. Imagine unplugging a drive thinking it has been taken off one VG but is on another VG and the wrong one. No telling what kind of a hornets nest that would upset. As a general rule, OS drive excluded, I always add a whole partitioned drive to either a volume group on LVM or a pool thingy on TrueNAS. My OS is divided but that is the only drive that isn't all one partition and all on one VG. There's a method to my madness sometimes. My biggest problem, I need to buy about two dozen 16 or 18TB drives and have a server type thing to put them in. Then redo everything from scratch. Dang that won't be cheap. o_O I'm updating the backups now. It's been a couple weeks. Gonna be a while. May take overnight. Just for fun. Part of df -h: Filesystem Size Used Avail Use% Mounted on /dev/mapper/home-home--lv 7.3T 1.2T 6.0T 17% /home /dev/mapper/datavg-datalv 28T 24T 3.3T 89% /home/dale/Desktop/Data /dev/mapper/crypt 37T 31T 5.9T 84% /home/dale/Desktop/Crypt And part of pvs: root@fireball / # pvs -O vg_name PV VG Fmt Attr PSize PFree /dev/sdf1 crypt lvm2 a-- 14.55t 0 /dev/sdb1 crypt lvm2 a-- 14.55t 0 /dev/sde1 crypt lvm2 a-- <7.28t 0 /dev/sdh1 datavg lvm2 a-- 12.73t 0 /dev/sdc1 datavg lvm2 a-- <9.10t 0 /dev/sdd1 datavg lvm2 a-- <5.46t 0 /dev/sdi1 home lvm2 a-- <7.28t 0 root@fireball / # I have two external drives that backup some data. I then have the TrueNAS system that backs up other data which now has three drives. This sounds massive don't it? ROFLMBO Anyway, I got it running again. It'll last until I can get larger drives. That 6TB on datavg and 8TB on crypt will likely be the next ones I replace with larger drives. Likely 14, 16 or 18TB depending on deal I can find. Thanks. Dale :-) :-)