Tag Info

Hot answers tagged

3

How would I mount the big xvda1 volume as the main one? Well, it looks like that's already the case. /dev/xvda1 is mounted as your root filesystem (assuming that by "main one" you mean "root filesystem"): $ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 32G 3.5G 27G 12% / You may just need to expand the filesystem on that ...


2

I noticed that in order to mount/umount work properly, I need to run a simple cd command. Any ideas about that? If you are currently in a directory that is within a mounted filesystem and you try to unmount it, you normally get an error message that the fielsystem is busy the effect of this is it can't be unmounted e.g. $ umount: /mnt/data: device is ...


1

Now problem is that I cannot see those volumes using df -h command but those volumes can be seen from lsblk command. Why is that a problem? These commands show different things in the first place. df displays you filesystem status, which means it'll only list mounted devices (it has nothing to show for unmounted ones – but, on the other hand, it also ...


1

Found it. Source is: http://wiki.centos.org/TipsAndTricks/WindowsShares at point "5. Yet Another Even-better method" The trick is to use autofs: Add this line to /etc/auto.master: /mnt/smb /etc/auto.smb.top Create /etc/auto.smb.top as: * -fstype=autofs,-Dhost=& file:/etc/auto.smb.sub Create /etc/auto.smb.sub as (adjust as needed): * ...



Only top voted, non community-wiki answers of a minimum length are eligible