All Questions

Tagged with
70 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
1answer
447 views

How to format & mount a large partition with 4k sector size in Freebsd?

gpart show -l: => 6 146239733 da0 GPT (558G) 6 10 - free - (40K) 16 128 1 (null) (512K) 144 262144 2 efi (1.0G) ...
6
votes
3answers
7k views

USB Media filesystem problem

My USB is not detected recently, I tried mount, fdisk, dd, gparted, mkfs.vfat :~# tail -f /var/log/syslog Oct 27 12:54:29 mohammad-Inspiron-N5110 kernel: [18843.105772] usb 3-2: New USB device ...
5
votes
0answers
534 views

Is there a way to show all flags in /proc/mounts?

Some filesystem flags seem to be hidden in /proc/mounts, depending on whether they are defined as defaults. Is there a way to show all flags in /proc/mounts, also including the default ones? And if ...
4
votes
0answers
925 views

How to interpret fdisk output?

How does one interpret fdisk -l output. I've included a sample output based on an image with my "best guesses", and then show the output based on the device which was used to create the image. ...
3
votes
1answer
119 views

How can I re-partition a hard/ssd-drive without losing data?

When I got my notebook with a 512GB SSD, I reformatted it and installed Ubuntu. I've followed Ubuntu's suggestion to partition the drive, so I have it partitioned as follows: $ sudo parted -l Model: ...
3
votes
0answers
561 views

ext4 mount: mount /dev/mmcblk0p2 on /SD failed: File exists?

If I try mounting the ext4 file system of /dev/mmcblk0p2 into the blank directories I just created: /SD and also /mnt/SD, then the command line answers with: mount: mount /dev/mmcblk0p2 on /SD failed:...
3
votes
0answers
210 views

How to mount Atmel mass storage device with unknown FS

I'd like to mount an ATMEL mass storage device (USB) so I can access the data that was recorded to the medical device I was wearing. Below are the commands I've run and the corresponding outputs. ...
3
votes
0answers
869 views

Mount LVM volume as external usb drive? CentOS 6

I'm trying to mount my old 2x500GB drives to the new server which has the same drive volume. Both have LVM structure but it's not working. root@server [/mnt/usb]# ls /dev/sd* /dev/sda /dev/sda2 /...
3
votes
2answers
10k views

specify mount option in /etc/fstab (mode=1777)

I have following line in my /etc/fstab: /dev/mapper/tmp /tmp ext4 noexec,nodev,nosuid,mode=1777 0 0 When I try to mount /tmp, I get following error in dmesg: EXT4-fs (dm-1): ...
2
votes
0answers
42 views

NFS mount on client not matching what's exported on the server

I've managed to successfully network two home computers with a crossover Ethernet cable. My intention is to arrange a fast transfer of files from one to the other. This is the first time I'm pairing ...
2
votes
0answers
261 views

How to mount tmpfs to rootfs?

I am trying to do a factory reset mechanism as a command. For that I am following these steps: Copy the default rootfs files to /tmp Kill all the currently running processes Mount tmp as root file ...
2
votes
0answers
129 views

How to hidepid on Arch Linux manually?

I have reinstalled Arch Linux to find that the package which used to be available called hidepid no longer exists, so I have to do this manually, but as I am still relatively new to Arch, I am not ...
2
votes
0answers
345 views

create “virtual directory” with mounted device

I need some help with my file system. I have an debian server running, which have an Nextcloud instance installed. The server is running by an external provider as a virtual server. On this server, I ...
2
votes
0answers
2k views

btrfs error unknown - root fs will not mount

I am running Arch Linux on a system with full disk encryption and the storage is a Samsung 950 Pro NVMe drive (512 GB). The computer is a couple months old. No bad behavior until now. (I'm only using ...
2
votes
0answers
505 views

VFAT FS Sync/Flush Behaviour

In order to increase the life of my VFAT flash drives, I have them set to mount as async. One of these drives sometimes deals with large data changes, and as a result, the writes that occur on umount ...
2
votes
0answers
35 views

Defining Languages Available at boot - LiveCD

I am trying to create a refined version of the buggy uck for customizing Ubuntu LiveCD ISO, here it is if you're interested in helping. NOTE: The process is straight-forward, except when customizing ...
2
votes
0answers
1k views

Cannot mount second 1TB harddrive in Linux, works fine in Windows 8.1

So I have this problem with my second hard-drive that I have been trying to fix for quite awhile now with no luck. I have searched around to try to find solutions to my problem but nothing seemed to ...
2
votes
0answers
294 views

Is there a way to access Google Drive spreadsheet?

I'm using Linux Mint 16 Cinnamon. I tried google-drive-ocamlfuse and grive, but both of them can't access spreadsheet. google-drive-ocamlfuse shows this error: Device or resource busy W hen it ...
2
votes
1answer
738 views

aufs with lower writable branch

I'm trying to hide some directories on a mounted file system (it's not about security, just aesthetics). I've mounted the file system regularly on /mnt/data and wanted to use aufs to overlay a ...
1
vote
0answers
19 views

Serve view of directory's most recent files only

I have a directory with ~100k files that loads very slowly over the internet through most protocols (just listing the directory can time out). I'd like to speed things up by only showing files from ...
1
vote
1answer
20 views

i.MX28 SOC DMA timeout on reading NAND FLASH

I'm porting recent Linux kernel to older existing hardware like the i.MX28 EVK kit from Freescale, and Karo TX28 board. I want to use a part of the NAND FLASH in the file system ("userfs partition" in ...
1
vote
0answers
57 views

How to mount stackable filesystem wrapfs on /

I am trying to mount wrapfs on top of / in order to intercept all file access on a CentOS 7.4 running on VirtualBox. Simply running mount -t wrapfs / / doesn't do the job and nothing goes through ...
1
vote
0answers
32 views

Missing folders, where else should I look

When I first configured a server I created a set of folders and an additional drive. Today it was reported that these folders are now missing. After looking through /log/messages I see this line, ...
1
vote
0answers
66 views

What exactly happens behind a bind mount? (Linux 4.x)

From the answer to What is a bind mount?, It is possible to unmount /some/where, in which case /else/where remains mounted. I checked the output of mount after performing a bind mount. The ...
1
vote
0answers
46 views

Multiple network shares to single mount point?

How would I mount multiple network shares to single mount point? Example //10.50.154.6/data 42T 22T 21T 51% /mnt/data6 //10.50.154.7/data 8.1T 6.2T 1.9T 77% /mnt/data7 //10.50.154.8/...
1
vote
2answers
741 views

Issue with orphan inode

I am using a virtual machine on a server I cannot access and I'm having the filesystem mounted in read-only mode: # dmesg .... [2.535658] EXT4-fs (vda): Couldn't remount RDWR because of unprocessed ...
1
vote
0answers
566 views

How to enable write access in internal hard drive in ubuntu 17.10?

I am a windows 10 user but recently i shifted to Ubuntu 17.10. I am not able to write on my internal drive partition so i googled and found the ntfs configuration tool and then I installed Ntfs ...
1
vote
0answers
238 views

Unable to mount decrypted image

I have an encrypted image (ext4) that can be mounted perfectly on my Raspberry Pi but not on my (L)Ubuntu VM. The following commands work perfectly on the Pi: sudo cryptsetup luksOpen stuff.iso img ...
1
vote
0answers
961 views

Docker filesystem has no open files but cannot unmount

I have an ext4 filesystem mounted on /var/lib/docker, using Ubuntu 14.04. I ran umount /var/lib/docker and got: umount: /var/lib/docker: device is busy. I had already shut down docker with ...
1
vote
0answers
716 views

mount -a - how to ignore partitions that are already mounted or partition that are busy

Some times when we do mount -a in order to mount all partitions we get the following error: mount: /dev/sdc is already mounted or /grid/sdc busy As I use $? to check in my Bash code the result of ...
1
vote
0answers
355 views

Strange inode count with /dev/vzfs

I am using Plesk on an Ubuntu 14.04 server and experiencing some strange problems: I checked mount: /dev/vzfs on / type reiserfs (rw,usrquota,grpquota) Then stat /dev/vzfs: stat: cannot stat ‘/dev/...
1
vote
0answers
921 views

How to create and mount a loop-device with guestmount?

The goal is to test the out of disk space condition. Creating an image: dd if=/dev/zero of=test bs=1024 count=10000 Mountpoint: mkdir mountpoint Mounting fails: guestmount -a test -m/dev/sda ...
1
vote
0answers
112 views

mhddfs filesystem hangs after a while with large directory

I have 2 RAID1 of 4TB each which are joined together with mhddfs. There is one directory that exists on both disks that contains hundreds of thousands of files. There is a lot of read/write happening ...
1
vote
0answers
298 views

Encrypted (luks) + LVM Ubuntu installation where /home is encrypted as well (ecryptfs): How to make a new partition for /home?

I've installed Ubuntu 16.04, encrypted and with LVM. I also chose the option to encrypt /home (which encrypts the directory with eCryptfs). The default settings make an unencrypted /boot and an ...
1
vote
0answers
88 views

Can you mount an ext2 image with FUSE as the middleground?

Normally I would mount this image directly to /mnt/foo, but I want to do some specific actions if a specific process does read/write/etc on the mount directory. So I'd like to use FUSE, but I'm not ...
1
vote
0answers
307 views

BTRFS Mounting 2 subvolumes

I've got a BTRFS volume setup with this subvolume structure. ThePool | | Media | |--------Movies | |--------TV Shows Basically I'm setting up my computer to be a ...
1
vote
1answer
983 views

How do I mount this .img file in Debian 7 properly?

I have an unusual .img file that I wish to mount on my Debian 7 system. I tried mount but that does not work: sudo mount -t udf overlay1.img /mnt/vehicle/ -o loop mount: wrong fs type, bad option, ...
1
vote
0answers
1k views

Recover overwritten CCTV footage from hard drive

I am trying to recover deleted footage from a DVR. I pulled the hdd(Toshiba DT01ABA100v) from the DVR to look at the data in the drive and run carving tools(foremost and scalpel). My problem is that I ...
1
vote
0answers
74 views

Is there a way to mount two folders into one mounting point, so that folders are mirrored?

I want some tool like $ mirroring_mount ~/first_location ~/second_location ~/mount_point So, when I edit file in ~/mount_point, it is edited in both locations, and if ~/first_location and ~/...
1
vote
1answer
2k views

How to mount a drive from command line

I normally mount my drives just by opening it from filesystem. It automatically mount when I click on a drive. But I wanted to mount a drive from command line. I did ran this command sudo mount -o ...
1
vote
0answers
520 views

tune2fs filesystem not clean

I've read in some forums that sometimes if you check tune2fs on a mounted device, it's OK that it says filesystem state: not clean. Can someone give me a complete explanation when this is true?
1
vote
1answer
353 views

Untar a filesystem to device as normal user but maintaining the correct UID and GID

I'm doing quite a bit of development using Yocto to target an embedded system. As its final output, Yocto generates a tarball of the filesystem, which I then untar onto an ext4 partition of an SD ...
1
vote
1answer
124 views

Moved /var/log to a new logical volume now data is missing

I have a RHEL server that has /var mounted inside an LVG on its on dedicated LV. Per RH Security Advisory CCE-26215-4 I needed to migrate /var/log to its own dedicated partition. So I shrunk /opt to ...
1
vote
0answers
285 views

sysv and unknown partition table?

We have disk about 1985, It has a Unix.But we didn't know type of Unix.I did the following step : dd if=/dev/sdc of./all_of_disk.iso #sdc is the given disk Then : hexdump -C all_of_disk.iso > ...
1
vote
0answers
617 views

Loopback (bind) mount automatically mounting additional ext4 USB drive

I have a USB (ext4) drive connected and it's registered in /etc/fstab. It mounts at /media/Backup fine. I want to mount a specific directory on that drive using a bind / loopback mount (this is ...
1
vote
0answers
334 views

changing /var in running system

I have the challenge that I cannot start a CentOS Linux server in single-user-mode, but I need to change the /var (currently part of /) to a new disk. My way would be: mount the new disk on a ...
1
vote
0answers
504 views

unionfs filesystem

I recently learned about unionfs and aufs and would like to put it to some real use. The scenario I have in mind is the following. Boot a machine with ubuntu on it which will serve as our base. Make ...
1
vote
1answer
510 views

/dev/shm/ecryptfs-$USER-Private keeps climbing in Kubuntu 12.10 Install

I'm having a problem with an installation of Kubuntu 12.10 with an encrypted home directory. I've been trying to figure it out for several weeks. For transparency, I'll note here that I posted this ...
1
vote
0answers
341 views

Unable to access Linux share from a Windows machine with NT_STATUS_BAD_NETWORK_NAME error

On the Linux machine I changed the smb.conf like this: [john] path = /root/john/downloads available = yes valid users = john read only = no browsable = yes public = yes writable = yes The path /root/...
1
vote
0answers
750 views

How can I determine how directories/filesystems have been mounted?

I have access to a VM which on a different network at work using NIS. (Debian by the way) This VM has about 10 extra /directories in / when I log in. They do not exist on that VM alone, they are ...