====== Disk Management ====== ===== Basic Operations ===== * [[en:hosting:manage-disk:create-disk|How to create a disk]] * [[en:hosting:manage-disk:attach-disk|How to attach a disk to your server]] * [[en:hosting:manage-disk:delete-disk|How to delete a disk]] * [[en:hosting:manage-disk:renew-disk|How to renew a disk]] ===== Using Disks ===== ==== Location ==== By default, your disks are located at: /srv/ They are mounted automatically to your server (both in Gandi AI and Gandi MI) when you add them to your server via our website. ==== Data management ==== Data that you have put on a disk is associated to that disk. If you have created a new disk and attached it to a server, and then put data on that disk, that disk can be removed from a server and attached to another server - and the data will remain on the disk. ==== Rights ==== By default, disks can only be modified by "root". Gandi AI will create folders on your disk that may be writable by the admin user however (in order to upload website files etc.). You can verify who has the rights to a file by either using the //ls -l// command (or other methods) This means that: * if you are using Gandi AI, and have two disks attached to your server, and * one disk has folders that can be managed by admin (because they have been created by Gandi AI for your apache server's virtual hosts), and * one disk that you have attached to your server using Gandi's interface, then You will be unable to transfer files from one disk to the other, because the one you attached will only have 'root' access.