Retrieving File System Information

This operation makes sense only if performing migration in Plesk for Unix.

Before starting a migration, you may want to get information on the source or destination file system, in order to specify the most suitable directory for storing migration dump. To get a server file system information, send request packet containing the get_fs operation node structured as follows:

<packet>
 <migration>
   <get_fs/>
 </migration>
</packet>  
Response Packet Structure

The get_fs node in the response packet received from server is structured as follows:

Response Samples

A positive response received from server can look as follows:

<packet>
<migration>
<get_fs>
   <result>
      <status>ok</status>
      <fs>
         <mountpoint>/</mountpoint>
         <device>/dev/sda1</device>
         <mode>rw</mode>
         <size>4015644672</size>
         <free>1549070336</free>
         <type>ext3</type>
      </fs>
   </result>
</get_fs>
</migration>
</packet>

 

A negative response received from Plesk for Windows server looks as follows:

<packet>
  <migration>
    <get_fs>
      <result>
        <status>error</status>
        <errcode>1017</errcode>
        <errtext>operator get_fs is  not supported</errtext>
      </result>
    </get_fs>
  </migration>
</packet>