sfletcher1959
asked on
New to Linux - how to tell if a partition is formated?
Have installed 1.8TB of space on Ubuntu 20.4.2 server. I show 1 logical drive sda with three partitions; sda1, sda2 and sda3. I would like to store immutable backups on sda3, however, when I point our backup software (Veeam) to the server partition /dev/sda3/ it populates a value of 15.6GB. I don't understand where it is getting this and thought maybe the partition isn't formatted and returning bad data.
Disk /dev/sda: 1.65 TiB, 1800303042560 bytes, 3516216880 sectors
Disk model: LOGICAL VOLUME
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 524288 bytes
Disklabel type: gpt
Disk identifier: 46EA827F-2082-4037-8C13-F229AF0F6A64
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 2101247 2097152 1G Linux filesystem
/dev/sda3 2101248 3516213247 3514112000 1.7T Linux filesystem
Disk /dev/sda: 1.65 TiB, 1800303042560 bytes, 3516216880 sectors
Disk model: LOGICAL VOLUME
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 524288 bytes
Disklabel type: gpt
Disk identifier: 46EA827F-2082-4037-8C13-F229AF0F6A64
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 2101247 2097152 1G Linux filesystem
/dev/sda3 2101248 3516213247 3514112000 1.7T Linux filesystem
if you can mount the partition it is formatted.
mount
if it is listed it is formated.
As an advice, you are missing swap in your partitioning.
Consider using LVM as the overlay
provides for dynamic partitioning.
mount
if it is listed it is formated.
As an advice, you are missing swap in your partitioning.
Consider using LVM as the overlay
provides for dynamic partitioning.
Is the flavor of filesystem on /dev/sda3 something that Veeam understands? (is it ext4, zfs, btrfs, etc etc)
Check your veeam settings and whether it reflects how.mich of the actual data in use it backed up.
I.e.our of the 1.7T available space, currently only 15.6FB are ised.
Veeam does not backup the empty space to reflect the entire partition's size.
I.e.our of the 1.7T available space, currently only 15.6FB are ised.
Veeam does not backup the empty space to reflect the entire partition's size.
are you sure you did not format 15 GB ? it's only a matter of comma
ASKER
Seth - Very new at this so leaning as I go. Here are the outputs:
df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 16G 0 16G 0% /dev
tmpfs tmpfs 3.2G 2.3M 3.2G 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv ext4 196G 14G 172G 8% /
tmpfs tmpfs 16G 0 16G 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda2 ext4 976M 112M 798M 13% /boot
/dev/loop1 squashfs 100M 100M 0 100% /snap/core/11420
/dev/loop2 squashfs 56M 56M 0 100% /snap/core18/1944
/dev/loop0 squashfs 11M 11M 0 100% /snap/canonical-livepatch/104
/dev/loop3 squashfs 56M 56M 0 100% /snap/core18/2128
/dev/loop5 squashfs 70M 70M 0 100% /snap/lxd/19188
/dev/loop4 squashfs 32M 32M 0 100% /snap/snapd/10707
/dev/loop6 squashfs 66M 66M 0 100% /snap/powershell/173
/dev/loop7 squashfs 33M 33M 0 100% /snap/snapd/12704
/dev/loop8 squashfs 71M 71M 0 100% /snap/lxd/21029
tmpfs tmpfs 3.2G 28K 3.2G 1% /run/user/1000
sudo parted -l /dev/sda
Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sda: 1800GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 1076MB 1074MB ext4
3 1076MB 1800GB 1799GB
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 215GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 215GB 215GB ext4
df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 16G 0 16G 0% /dev
tmpfs tmpfs 3.2G 2.3M 3.2G 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv ext4 196G 14G 172G 8% /
tmpfs tmpfs 16G 0 16G 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda2 ext4 976M 112M 798M 13% /boot
/dev/loop1 squashfs 100M 100M 0 100% /snap/core/11420
/dev/loop2 squashfs 56M 56M 0 100% /snap/core18/1944
/dev/loop0 squashfs 11M 11M 0 100% /snap/canonical-livepatch/104
/dev/loop3 squashfs 56M 56M 0 100% /snap/core18/2128
/dev/loop5 squashfs 70M 70M 0 100% /snap/lxd/19188
/dev/loop4 squashfs 32M 32M 0 100% /snap/snapd/10707
/dev/loop6 squashfs 66M 66M 0 100% /snap/powershell/173
/dev/loop7 squashfs 33M 33M 0 100% /snap/snapd/12704
/dev/loop8 squashfs 71M 71M 0 100% /snap/lxd/21029
tmpfs tmpfs 3.2G 28K 3.2G 1% /run/user/1000
sudo parted -l /dev/sda
Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sda: 1800GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 1076MB 1074MB ext4
3 1076MB 1800GB 1799GB
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 215GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 215GB 215GB ext4
ASKER
try mount /dev/sda3 /mnt
and see if it can be mounted.
Was this just an initial install? 1.8TB 99% of your capacity is part of this /dev/sda3 partition.
It might be easier if you specify what it is you are trying to do, and whether it should be reinstalled with better partitioning
and see if it can be mounted.
Was this just an initial install? 1.8TB 99% of your capacity is part of this /dev/sda3 partition.
It might be easier if you specify what it is you are trying to do, and whether it should be reinstalled with better partitioning
Hi,
As root (or sudo command) issue
Regards,
Tomas Helgi
As root (or sudo command) issue
vgdisplay -v
and lvdisplay --maps
and post the output.Regards,
Tomas Helgi
ASKER
arnold - This was an initial install. Total hdd space is 1.8TB on bare metal. We are using Veeam as our backup/replication tool. We are attempting to setup Immutable backups through Veeam. We have 0% experience in Linux and are trying to work through this. I have taken two online course on Linux. So very limited (dangerous) knowledge about Linux or it's infrastructure. But you have to start somewhere. So I have an initial install of ubuntu 20.4.2. I have successfully installed VNC to provide remote control capability while in the lab. I have presented the Host (Linux) to Veeam. I am attempting to set up a Veeam backup repository using excess capacity on the Linux server. That capacity seems to be associated with sda3 (1.7TB). Once I have access to this storage space, I would create a backup job in Veeam pointing to this storage and set the backup to be immutable.
mount: /mnt: /dev/sda3 already mounted or mount point busy
mount: /mnt: /dev/sda3 already mounted or mount point busy
ASKER
Tomas
sudo vgdisplay -v
No volume groups found.
sudo lvdisplay --maps
:~$
sudo vgdisplay -v
No volume groups found.
sudo lvdisplay --maps
:~$
Hi,
Looks like you don't have any filesystem on /dev/sda3
Execute
And post the output.
Regards,
Tomas Helgi
Looks like you don't have any filesystem on /dev/sda3
Execute
sudo fdisk -l
orsudo fdisk -l | grep sda3
And post the output.
Regards,
Tomas Helgi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
this will show you the file system (with free space)
failing that (in case it isn't mounted), check parted
Open in new window
number 3 will show the file system if formatted
also, what version of veeam?