Tag Info

New answers tagged


To enable the swap device you can swapon /dev/mapper/ubuntu--vg-swap_1 If there is an error with that swap space, because it was destroyed somehow, you can reformat the swap device with mkswap /dev/mapper/ubuntu--vg-swap_1 Check the related manual pages swapon(1) and mkswap(1) for more information.


ntfs-3g is fuse-based, I suspect you can't use it to replace such a vital part of a Linux filesystem. Instead you could mount it somewhere in your home and put files you need there.


UUID=e67dc3e4-1ac3-4a68-b43f-c77c4dc965d9 is the partition, which can be identified either by its name, its label, or its UUID (Universal Unique Identifier) as in this case / is the mount point; here the partition will be mounted at the root ext4 is the filesystem type; here's the EXT4 journaling filesystem, successor of EXT3 and the most used filesystem ...


This add works on scientific Linux 6.6 (RedHat 6.6) edit fstab create file = .credentials create .credentials (Folder locate your choice example :/etc ) with this details : username=value password=value domain=value //SERVER/SHARE1 /mnt/SHARE1 cifs credentials=/etc.credentials,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0


Solved it: became the owner of the filesystem by adding the uid option (you can find you uid on /etc/passwd) and made the filesystem executable by using nrfs-3g (had to install it): /dev/sda1 /run/media/luancristian/Dados ntfs-3g defaults,uid=1000 0 0


It turns out that you just have to specify the id of the subvolume. To find it, do # btrfs subvolume list <path to btrfs drive/fs> For fstab, the line will be very similar to the line for the btrfs drive in general, but with the subvolid option set. Mine looks like this since I'm using LVM: /dev/mapper/ubuntu--vg-vmdrive /mnt/vmdrive btrfs ...


Rather than try to mount samba shares for the logged in user in a single reusable location (which will cause issues if you have more than one user logged in), consider mounting into a location unique to each user (eg /home/<username>/sambaserver, or /mnt/samba/<username> in a pinch) If you are working with Linux, smbmount is a simple user-space ...

Top 50 recent answers are included