4
votes
1answer
30 views

Backup of a ubi file system with dd?

A have a root file system (file system - image containinf folder structure and content) on a flash drive. The flash drive uses UBI as the underlying file system file system - the way the data blocks ...
13
votes
2answers
385 views

Is that possible to integrate zip and tar.gz files as directory into the file system

I wonder if there is a way to integrate (it's a bit different from mounting, I think) compressed files as directories into the file system? E.g., one could download a compressed-file.tar.gz to his ...
1
vote
1answer
28 views

Filesystem unmounted after weekend

I have a problem with an AIX server what I manage. I had some filesystem created to store the structure of an Oracle instance. But after the weekend scheduled reboot the filesystems are unmounted when ...
0
votes
4answers
79 views

What's the advantage of mounting a file system in the same file system

RE-EDIT: We can usually see mounting a file system to a mountpoint, like: /usr/bin/truncate -s 128M /tmp/foo chmod 0700 /tmp/foo mke2fs -t ext4 -m 1 -F /tmp/foo mount -t ext4 -o loop /tmp/foo /mnt ...
4
votes
2answers
208 views

HDD no longer able to mount after editing /etc/fstab

I have an SSD which holds / and my home directory, but I also have a 1TB HDD with most of my music on. I tried to edit /etc/fstab to automatically mount the HDD to save me time. I am running Kubuntu. ...
0
votes
1answer
45 views

How to set automatically permission at automount without mask

I store my data on a NTFS parition to share it with my Windows. I use the dmask,fmask option in my fstab entry to avoid rwx default permissions to everyone, for coherence, security, and also because ...
0
votes
2answers
61 views

Impossible to mount USB hard drive. Filesystem not recognized?

I have been using a raspberry PI since more than one year, with two USB 500GB IDE hard drives as a NAS/torrent box. Yesterday, one of the two hard drives started a repetitive rattling noise, and I ...
1
vote
1answer
64 views

Behavior of filesystem when mount option has been specified as error=panic

Background I have a debian system on which I have something like the following in the fstab file. /dev/sda1 / ext3 defaults,noatime,errors=panic 0 0 The option I wish to focus on is the ...
3
votes
2answers
65 views

Explanation for mount -t and mkfs

What is the purpose of specifying which type of file system will be mounted with argument [-t] if you previously already used mkfs.[whatever] to format your HDD/flash drive? I have no problem in ...
3
votes
2answers
102 views

How to fake a filesystem that cannot be mounted by others

I'm currently working on a project. There's an Ubuntu Linux system installed on a disk, DA, mounting the other disk, DB. What it requires is that DB can be only mounted by DA in order to prevent data ...
3
votes
1answer
92 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 ...
3
votes
1answer
136 views

External ext4 drive unmounted after some time (Raspbian)

I am using BitTorrent Sync on my Raspberry Pi (Raspbian) which syncs files on the external hard drive (ext4). I wrote a small script that spins down the drive after 5 minutes of inactivity. As soon as ...
3
votes
2answers
62 views

How is network mounted software executed?

I would like to understand how network mounted software works. For example, at my place of work, we have a software server. Each client machine (hundreds of them) automatically mounts directories ...
3
votes
1answer
75 views

A process, run as root, when performing mount, is mounting for `self`, how to make the mount global?

I'm mounting a share from within process'es context. That, ultimately, mounts the object on a per-process namespace basis, rendering it invisible for the rest of the system. The problem is partially ...
3
votes
1answer
659 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 ...
2
votes
2answers
1k views

Format windows (NTFS) hard drive on Ubuntu using command line

This is really a two part question. I've never formatted a hard dirve on Linux/Unix, so please bear with me. I had an old Windows machine which recently died. So I decided to put the hard drive into ...
0
votes
1answer
135 views

RHEL - df -h v/s graphical disk usage analyzer tool

I am trying to understand the disk usage in my RHEL system. When I run the Disk Usage Analyzer tool graphically, my screen shows the below output. However, if I run the command df -h I get the ...
2
votes
3answers
383 views

vfat not recognized in debian

I want to mount my usb drive (kindle vfat32). When I do mount -t auto /dev/sdf1 /mnt/usb I get mount: unknown filesystem type 'vfat' I checked if the drive is recognized with sudo fdisk -l and ...
0
votes
2answers
346 views

Regarding the output of “df -h” in Linux

Regarding the output of "df -h" in Linux. [root@]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 193G 82G 101G 45% / tmpfs 1.9G 272K 1.9G ...
1
vote
2answers
480 views

Can anyone explain the output of mount?

I'm getting the following output when the mount command is executed. [root@]# mount /dev/sda2 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type ...
1
vote
1answer
175 views

sshfs - can't unmount the point

I mounted a folder on a remote machine using sshfs, but didn't specify -o allow_other flag thus can't access the mounted directory. When I try to mount over with -o allow_other option sshfs gives me ...
6
votes
3answers
242 views

How to get mount point of filesystem containing given file

I am looking for a quick way to find the mount point of the file system containing a given FILE. Is there anything simpler or more direct than my solution below? df -h FILE |tail -1 | awk -F% ...
3
votes
1answer
214 views

My HFS+ (hfsplus) partition won't mount with exec permissions

I'm dual-booting an old MacBook Pro with OS X 10.5 and Ubuntu Studio 13.04. I've partitioned my internal SATA drive as follows: /dev/sda1: LABEL="EFI" UUID="3F3C-1AF6" TYPE="vfat" (EFI Boot ...
3
votes
1answer
116 views

Odd behavior with a gzip compressed file

I've got a very bizarre issue occurring with a Redhat system. We have a Gzip-compressed TAR file that contains hundreds of small text files with absolute paths. It's only 8 MB. We copy this file to a ...
3
votes
1answer
83 views

Enumerating\writing files in a specific directory hangs the command

I'm communicating with a machine remotely through ssh. This machine runs a custom-built Linux and it has very limited set of commands. At some point, a specific directory refuses files to be written ...
1
vote
3answers
111 views

How to ensure File System is Mounted with ' atime ' enabled ?

Let's run mount /dev/mapper/VolGroup-lv_root on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type ...
2
votes
1answer
116 views

Atime value changing only once after file creation

I've mounted disk with explicit given value - atime: mount -o mount -o atime /dev/disk1 /myDisk then I've created a file by touch file_A after this operation stat output looks like that: ...
1
vote
2answers
326 views

Cannot modify files in my home directory

I have a laptop running Ubuntu Server 12.04 and suddenly, yesterday, I don't know what happened, but all the permissions changed of my home directory, so when ever I try to create a file, it says ...
2
votes
0answers
125 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 ...
3
votes
1answer
2k views

how to find the type of img file and mount it

I have to mount a .img file but I don't know what type of .img it is. How can I figure out what type of .img file it is? # mount -t auto -o ro,loop gmapsupp.img /mnt/iso/ mount: you must specify the ...
5
votes
2answers
293 views

mount options shown in /proc/mounts

IIRC then the mount options shown in /proc/mounts have changed. Some time ago acl and user_xattr were shown, now it seems that only noacl and nouser_xattr are shown if these features are turned off. ...
3
votes
2answers
205 views

How to mount an OpenBSD hard disk image on Linux?

First, I'll start by explaining how I got my problem, this will help me get across what I need. A few months ago, my laptop hard disk broke. I had no quick replacement, but I needed that laptop the ...
3
votes
2answers
125 views

What happens to UIDs upon mount of file system

I have a very basic question and still failed to find the answer after ~10 google requests and skimming through my unix textbook, so: Consider a system with 2 hard drives, having root file system at ...
3
votes
1answer
55 views

Why aren't CD image files listed when mounted in current directory?

When mounting a disk image in the current directory using : sudo mount -o loop -t iso9660 wall.iso ./ Listing files in current directory only returns wall.iso . To view the actual files on the disk ...
4
votes
2answers
524 views

Querying an overlayfs

I'm looking for a way to query a mounted overlay filesystem (overlayfs) in order to check it's upper and lower directory, but until now I haven't found any suitable command for that. Is there is a way ...
7
votes
5answers
4k views

Check if folder is a mounted remote filesystem

What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script? I am looking for a command that would look like: ...
1
vote
0answers
150 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 ...
0
votes
0answers
77 views

Span a directory on an SD card and an attached USB stick

Can I span a folder on the SD card on my Raspberry Pi with a folder on an attached USB device? I'd like to basically extend the size of a directory by using an attached USB memory stick. I'm running ...
1
vote
0answers
105 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 ...
4
votes
2answers
1k views

Mount HTTP Server As File System

I have a machine on which I wish to mount multiple remote servers to access them all centrally. For remote Linux based systems I am using SSHFS which works fine. But for Windows systems, or systems ...
3
votes
1answer
90 views

md5sum change after mount?

I have a ext3 filesystem on a .img file. After mounting and unmounting it, I noticed that the md5sum is changed, even if no file inside was changed! md5sum myfilesystem.img XXXX myfilesystem.img ...
2
votes
2answers
450 views

dynamic file system with hooks

Is there anyway in linux (I don't care which distribution or flavor) to have a dynamic file system with read/write hooks? For example I would like to mount a dynamic file system at /dynamic and ...
1
vote
3answers
214 views

Can a mounted encrypted filesystem be safe from root?

I have access to a shared remote computer from which I would like to run some code I have written which uses an interpreter (not a compiled code). I would like to protect this source code from other ...
3
votes
3answers
9k views

Best way to mount remote folder

I have two RasberryPi running debian wheezy and I would like to mount a folder from computer A on computer B. What is the best (as in most efficient) way to do this? I can do it via SMB, but that is ...
0
votes
2answers
292 views

Problem mounting my iRiver story HD on Ubuntu

I would like to connect my iRiver Story HD to my ubuntu 12.04 machine but as I connect it I get this error: Unable to mount Story HD Error mounting: mount: wrong fs type, bad option, bad ...
1
vote
1answer
550 views

How to find the type of an img file so it can be mounted

I have a .img file and I want to see what's inside of it. I tried mounting it, but I don't know what filesystem type it is. Is there a way to detect what it is so I can mount it? I'm using Ubuntu. ...
1
vote
1answer
324 views

Read/write access on raw NTFS image

I backed up an entire 32GB NTFS partition to a raw image with with dd. The file-system on the partition in accessible under Debian after mounting with: $ sudo mount -o ro,loop ...
1
vote
0answers
241 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 ...
2
votes
2answers
400 views

Filesystem type on Solaris 5.10

How can I get the file system type for each device on Solaris 5.10? I tried mount with no args but that only listed each mount point, similar to df. Also, how can I find where a specific directory ...
0
votes
1answer
1k views

Not able to execute system files

I was trying to install ruby with : sudo apt-get install ruby1.8 output: W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt/ E: The package lists ...