In azure, i have installed a Ubuntu Server 12.04 LTS. After the first boot, i got the follwoing output from df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 29G 879M 27G 4% /
udev 328M 12K 328M 1% /dev
tmpfs 135M 248K 135M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 337M 0 337M 0% /run/shm
/dev/sdb1 20G 172M 19G 1% /mnt
According to Azure local disk - where'd it go? (Linux VM), /dev/sdb1 is the local temp disk.
What is the reason that the temp disk is automatically mounted to /mnt, and is it possible to change the mount point of /dev/sdb1?
edit: This is how the fstab looks after installing, so i cant see how to change the mount point of /dev/sdb1
UUID=2779695b-335b-4e4f-8c2c-60ce40546b10 / ext4 defaults,discard 0 0
It is possible to change the mount point of /dev/sdb1 if you have the windows azure agent installed. In RHEL/centos systems, the configuration file is located in /etc/waagent.conf
For RHEL/centos this agent is provided by the openlogic Repo and is titled: WALinuxAgent.noarch 2.0.11-1 @OpenLogic
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With