[Solved] How to mount storage volume on VPS ?

I've done that and something goes wrong I think.

debian:~$ sudo mkfs.ext4 /dev/vdb1
mke2fs 1.44.5 (15-Dec-2018)
/dev/vdb1 contains a ext4 file system
last mounted on Sat Mar 20 10:34:17 2021
Proceed anyway? (y,N) y
Creating filesystem with 26214144 4k blocks and 6553600 inodes
Filesystem UUID: 937ebb78-35c0-4700-9af4-c777fd5aa6a8
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done
Writing inode tables: done
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information: done

debian:~$ sudo mkdir /mnt/storage
debian:~$ sudo mount /dev/vdb1 /mnt/storage

Once again, the icon that we can see on my last screenshots have disapeared after these command lines were executed.

Thanks again for everything.
 


What does do the following command show now?
Code:
df -h
lsblk
 
It gives me that :

debian:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.0G 0 3.0G 0% /dev
tmpfs 597M 32M 565M 6% /run
/dev/vda1 20G 4.1G 15G 22% /
tmpfs 3.0G 21M 2.9G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.0G 0 3.0G 0% /sys/fs/cgroup
tmpfs 597M 8.0K 597M 1% /run/user/1000
/dev/vdb1 98G 61M 93G 1% /mnt/storage
debian:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 558K 0 rom
vda 254:0 0 20G 0 disk
└─vda1 254:1 0 20G 0 part /
vdb 254:16 0 100G 0 disk
└─vdb1 254:17 0 100G 0 part /mnt/storage
 
Furthermore, there is a "config-2" disk I cannot access. Is it the same thing maybe ?
 
Furthermore, there is a "config-2" disk I cannot access. Is it the same thing maybe ?
Maybe what does it look like, what did that open before?
 
It is just behind the missing icon (see my screenshot on the first attachment).

When I try to open it, it suggests it would be a dvd and I don't know why (second screenshot on attachment).

If I understand : I can not see or access to my storage disk (100 Go) because it isnot correctly mounted and there is a config-2 place which seems to refer to a dvd ? Is it right ?

I make some research but I don't really understand.
 

Attachments

  • 1.PNG
    1.PNG
    35.2 KB · Views: 307
  • 2.PNG
    2.PNG
    67 KB · Views: 320
Try the following for where your storage device is mounted, then you should be able to write files there as normal user.
Code:
sudo chown $USER. /mnt/storage
Only thing I can think of was an iso that was mounted during installation or something like that, what happens when you right click on the config-2 and going to properties, do you see anything?
 
Try the following for where your storage device is mounted, then you should be able to write files there as normal user.

It didn't worked. Still have no access to my 100 gb storage, no icon displayed.

Should I reset my server and try from the beginning another command lines ?
 

Attachments

  • no storage access.PNG
    no storage access.PNG
    66 KB · Views: 287
That was just the permission:
1. Open Thunar
2. Click on Computer
3. Click on Filesystem
4. Click on mnt
5. Right click on storage, Send to Desktop
 
Thank you !

It works, thanks again for your help, your patience and your kindness :)
Glad to have helped out! :) And welcome to Linux.org! If you want create an introduction post you can do that in the "Members Introductions" section, that way you can meet some of the members here.
 
Last edited:

Members online


Top