proxmox single drive question

masayume

New Member
Sep 16, 2024
4
1
3
Hi there, kinda new to this stuff and trying to learn but i have a quick question

currently i have proxmox setup in my old machine with a 1tb storage, during the installation of proxmox, i have allocated the entire harddisk for it.
in this case, here comes my question.

i have 1 vm running with several containers for my own testing but i found out that i dont really need proxmox to use up my whole 1tb.
i wish to allocate like 500gb from the 1tb in the hard drive and make something like a file share server or what ever that i can use that 500gb to share across my different machine such as windows/mac as well as the vm running in proxmox (i am not sure how to do this first), maybe using turnkey fileserver?

but before that, i am not sure how to split my current 1tb out or maybe allocate it as a parition and try to setup something to use as a share storage

these are some information of my proxmox machine fdisk -l

Code:
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EARS-00Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3586F8DF-E54F-43E5-96FB-C81E54099860

Device       Start        End    Sectors   Size Type
/dev/sda1       34       2047       2014  1007K BIOS boot
/dev/sda2     2048    2099199    2097152     1G EFI System
/dev/sda3  2099200 1953525134 1951425935 930.5G Linux LVM


Disk /dev/mapper/pve-swap: 7.48 GiB, 8036286464 bytes, 15695872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/pve-root: 96 GiB, 103079215104 bytes, 201326592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/pve-vm--100--disk--0: 400 GiB, 429496729600 bytes, 838860800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0xea8d37fd

Device                                 Boot     Start       End   Sectors  Size Id Type
/dev/mapper/pve-vm--100--disk--0-part1 *         2048 836859903 836857856  399G 83 Linux
/dev/mapper/pve-vm--100--disk--0-part2      836861950 838858751   1996802  975M  f W95 Ext'd (LBA)
/dev/mapper/pve-vm--100--disk--0-part5      836861952 838858751   1996800  975M 82 Linux swap / Solaris
 
Hi!

You might get along without 'splitting out' storage from you initial installation, as install defaults are quite sane. The storage is not really reserved for PVE, PVE rather manages the disks for you (using LVM).

For what you describe you could indeed spin up a turnkey fileserver container and assign it a small rootdisk (defaults to 8G) + an extra 500G mountpoint (from local-lvm) for the samba share to be compatible with windows clients.

There's a discussion about permissions at https://forum.proxmox.com/threads/turnkey-file-server-permission-problems.85156/post-373979, which might be helpful.

Keep in mind that using just one disk is not very redundant for long-term-data ;).
 
Hi!

You might get along without 'splitting out' storage from you initial installation, as install defaults are quite sane. The storage is not really reserved for PVE, PVE rather manages the disks for you (using LVM).

For what you describe you could indeed spin up a turnkey fileserver container and assign it a small rootdisk (defaults to 8G) + an extra 500G mountpoint (from local-lvm) for the samba share to be compatible with windows clients.

There's a discussion about permissions at https://forum.proxmox.com/threads/turnkey-file-server-permission-problems.85156/post-373979, which might be helpful.

Keep in mind that using just one disk is not very redundant for long-term-data ;).
Yes i understand on the not redundant for long term data, but i am new in this and trying out with what i have for now before going to invest on some hardwares.

just a question on what you mentioned, spin up turnkey fileserver container, i did that but how can i assign the extra 500g mountpoint?
under my turnkey dashboard, i am seeing this only, note that i am assigning 64gb for the turnkey installation instead of default 8G just in case
1726490834154.png
 
Hi!

I can't say anything about the turnkey dashboard -- are you running it on PVE as well?

On the PVE-side you should be good with Datacenter->node->$YOURCONTAINER->Resources->Add->'Mount Point'. There you can specify size and path for the added drive.
 
  • Like
Reactions: masayume
Hi!

I can't say anything about the turnkey dashboard -- are you running it on PVE as well?

On the PVE-side you should be good with Datacenter->node->$YOURCONTAINER->Resources->Add->'Mount Point'. There you can specify size and path for the added drive.
yes currently running turnkey on container in pve, just wondering for the mount point, what should i put for the PATH? is it some existing path i need to create first in somewhere or i can just type a path here and it will create it?

1726492015136.png
 
Just found the dashboard myself :)

You can put any valid path there, something the like '/mnt/disk01' (whatever naming is good for your purpose).

It should become visible in your dashboard transparently if things work out!
 
  • Like
Reactions: masayume
Just found the dashboard myself :)

You can put any valid path there, something the like '/mnt/disk01' (whatever naming is good for your purpose).

It should become visible in your dashboard transparently if things work out!
thanks, i manage to get it mount and saw it in my turnkey fileserver. i will proceed to try on adding into SMB and see how it works. thanks alot, is more simple than i thought
 
  • Like
Reactions: dherzig

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!