• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk does not see my second disk

Henry C. Lavau

New Pleskian
Hi, I have mounted a new disk (md0) that i can see with
fdisk -l
Disk /dev/md2: 418.1 GiB, 448889094144 bytes, 876736512 sectors
Disk /dev/md0: 3.7 TiB, 4000650690560 bytes, 7813770880 sectors
Debian 10 OS, Plesk Obsidian, vhosts, etc. are on md2
With root rights under SSH, I can act on md0 : create folders, chown them, etc.

But I do not see md0 under Plesk : how can I see some of md0's folders in the Files menu of Plesk?
 
Yes : this one
Plesk-File-Manager.png

In practice, I want to see also the folders created under md0 through the FTP of the site and allow document uploads to this folder.
At the moment, I get "Permission denied"
 
That file manager does not show your entire filesystem. You cannot browse the entire / filesystem using Plesk' FM, even as super user.

As for FTP, if you can see the folder, are you sure you (the ftp user, not root) have write perms in it?
 
The permissions are as created by Plesk
Code:
ls -l /var/www/vhosts
drwx--x--- 14 usersite psaserv 4096 Mar  5 15:39 usersite.com
drwxr-x---  7 root           root    4096 Mar  5 15:50 chroot
drwxr-xr-x  5 root           root    4096 Mar  4 10:54 default
drwxr-xr-x  3 root           root    4096 Mar  4 11:05 system
and after I set the md0
Code:
ls -l /mnt/md0
drwx------ 2 root   root   16384 Mar  4 04:01 lost+found
drwxr-xr-x 2 psaadm psaadm  4096 Mar  5 15:12 plesk_backups
drwxr-xr-x 3 psaadm psaadm  4096 Mar  5 15:27 wwwvhosts

ls -l /mnt/md0/wwwvhosts
drwxr-xr-x 2 usersite psaserv 4096 Mar  5 15:27 usersite
usersite is the user attached to the site. I d' like usersite to have access to /mnt/md0/wwwvhosts/usersite
 
What do you mean by "after I set the md0"?

What is the expected result, e.g. do you want to replace the physical usersite.com directory on the one disk with a mounted device (your other disk)?
 
In fact the remaining problem was that I did not see /mnt/md0/... with FTP

With FileZilla FTP, I was stuck to usersite.com without no access to the parent directories /var/www/vhosts

But still with FileZilla but connecting with SFTP I have now access to usersite.com through it parents: /var/www/vhosts/usersite.com

/var and /mnt beeing both at the upper level,
I can now move from /var/www/vhosts/usersite.com to /mnt/md0/wwwvhosts/usersitecom
SFTP solves my problem.

Thank you for your time.
 
Back
Top