Resize VM drive space??? Help.

Status
Not open for further replies.
Joined
Jun 24, 2017
Messages
338
Hi guys... not sure exactly what to do here. I have a Virtual Machine running Ubuntu. I had allocated 10GB for the VM but ran out of space fairly quickly... (I had meant to dedicate 100GB, not 10... an oversight on my part).
Problem is, I can't figure out how to get the VM to be resized... I tried:
'zfs set volsize=100GB mnt/vm'

FreeNAS reports the size as 100GB, the VM console shows the disk that the VM is using is set to 100GB, but when I boot to the Ubuntu VM, it still shows as full (8GB is what the machine actually sees as a hard drive...) What am I missing? Im assuming I have to do something in the Virtual machine, but I don't know what...
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Hi guys... not sure exactly what to do here. I have a Virtual Machine running Ubuntu. I had allocated 10GB for the VM but ran out of space fairly quickly... (I had meant to dedicate 100GB, not 10... an oversight on my part).
Problem is, I can't figure out how to get the VM to be resized... I tried:
'zfs set volsize=100GB mnt/vm'

freeness reports the size as 100GB, the VM console shows the disk that the VM is using is set to 100GB, but when I boot to the Ubuntu VM, it still shows as full (8GB is what the machine actually sees as a hard drive...) What am I missing? Im assuming I have to do something in the Virtual machine, but I don't know what...
It would be better to actually use your Nas to store that data. Mount your storage using smb or nfs. The way it is now means your can never really get that data out of your Ubuntu sever unless you copy it off.

Sent from my Nexus 5X using Tapatalk
 
Joined
Jun 24, 2017
Messages
338
To store what data? it is just a scrubber for my media... It downloads and unzips media then moves it to the FreeNas main portion... it's really just to run Sonarr, SAB, transmission and some other small/similar programs... nothing is truly stored on it...
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Then why do you need 100gb? Doesn't really matter because it sounds like you are doing what I was suggesting.

Sent from my Nexus 5X using Tapatalk
 
Joined
Jun 24, 2017
Messages
338
Why not? it's a drop in the bucket... and I like rounded numbers...

(It's a 20TB NAS)...

Not sure why 10GB wasn't enough... but it ran out fairly fast. I guess, it does run my MySQL database... maybe that ran wild...
 
Joined
Jun 24, 2017
Messages
338
Since we're on this topic though...
Any idea how to get ZoneMinder to run on a VM in FreeNAS, but store video on the main portion rather than in the VM itself (every time I've ever tried, I end up breaking Zoneminder...)
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I have it running in a Linux vm and just change the path to be a smb mount on the Linux client. Zoneminder has lots of settings for paths so I would have to open mine up to see what I changed but it was straight forward. I just went show and did one thing at a time so I knew what it all did.

Sent from my Nexus 5X using Tapatalk
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
I wish to shoot the moron who added this non-word to a dictionary. It is wrong and does not belong in a dictionary, much less a spellchecker, where it turns perfectly good FreeNAS into a freak of child-like speech that incorrectly constructs the noun associated with the adjective "free", which to any English speaker is "freedom", not something that sounds like FreeNAS pronounced by someone speaking with their mouth full.
 

donsev

Explorer
Joined
Jan 15, 2017
Messages
79
It would be better to actually use your Nas to store that data. Mount your storage using smb or nfs. The way it is now means your can never really get that data out of your Ubuntu sever unless you copy it off.

Sent from my Nexus 5X using Tapatalk

I always wondered but afraid to ask. If I mount my Freenas smb inside an Ubuntu VM that exists on the freenas itself, then have ubuntu store stuff in the smb, will that data be transferred over the network or will it directly get put on the hard drive?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I always wondered but afraid to ask. If I mount my Freenas smb inside an Ubuntu VM that exists on the freenas itself, then have ubuntu store stuff in the smb, will that data be transferred over the network or will it directly get put on the hard drive?
I'm not sure I can fully explain it because I don't know enough about the bhyve nic drivers. It would go over the network in a sense but it would not go to a switch and back. That's my best guess.

Sent from my Nexus 5X using Tapatalk
 
Joined
Jun 24, 2017
Messages
338
fixed... wonder why my autocorrect changed the first one, but nothing after that... Also, I should add... I've been drinking... sooooo.....

Off to see how I broke couchpotato...
 
Status
Not open for further replies.
Top