All Questions

Tagged with
Filter by
Sorted by
Tagged with
2
votes
1answer
1k views

Can I safely run badblocks in read-only mode on a mounted drive?

I have /dev/sda mounted on /, as the root partition. Can I safely run badblocks in read-only mode on this device? Will it show false positives/negatives because it's mounted?
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 ...
3
votes
1answer
6k views

Understanding file systems and mount points as seen from df and Nautilus

Let's say we run df command to show something about file system in my CentOS. I can see a LVM /dev/mapper/vg_centos64-lv_root mount to /. or a partition /dev/sda1 mount to /boot, and a device CDROM /...
4
votes
1answer
2k views

set umask for sshfs-mounted filesystem

I have a remote sshfs filesystem mounted on /mnt/data. Following is the relevant line in /etc/fstab: www-data@192.168.1.10:/var/www/ /mnt/data fuse.sshfs rw,noauto,nodev,nosuid,noexec,_netdev,...
-1
votes
1answer
117 views

RHEL 6 filesystem

I'm reading about RHEL 6 and getting confused about a knowledge check. It tells me that not to use a computer to give an answer for this but the question is on a RHEL 6 system, mount /dev/sda12 /...
1
vote
2answers
254 views

Mount(8) with mount(2)

I have a software that will unmount a partition programatically (if it's not busy) and mount it again after all of the work is done. If I run this in the terminal: sudo mount /dev/sdb1 /mnt/fat32 -o ...
3
votes
1answer
1k views

mount: Unrecognised segment type thin

So my Fedora Linux machine crashed during an update, and now refuses to start properly. I'm using SystemRescueCD to try to recover the contents of the hard drive. Following the steps in this post, I ...
0
votes
3answers
82 views

Why is /dev a subdirectory of / (the root)? [closed]

Why is /dev a subdirectory of / (the root)? I ask because isn't everything in the file system also mounted from the computer's hard disk which show up in /dev? Then why isn't dev the root directory ...
1
vote
0answers
80 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
2answers
3k views

Cannot cleanup ghost mount points

'mount' command shows several mount points across several disk devices that I had previously setup: $ mount ... /dev/sdf1 on /mnt/<mp1> type xfs (rw) ... /dev/sdd1 on /mnt/<mp2> type ...
1
vote
1answer
3k views

How to discover unknown file system type from disk

I pulled the hard drive from a *nix-based CCTV DVR so I could look at the contents and mount points, with the explicit intention of mounting a separate drive at the folder wherever the video is stored....
21
votes
7answers
5k views

Why does Linux need to have both `/dev/cdrom` and `/media/cdrom`? [duplicate]

Inspired by this question. Why does Linux need both /dev/cdrom and /media/cdrom? Why not just access files on the cdrom through /dev/cdrom?
2
votes
1answer
36 views

How to make sure files are present when usb mounts?

When my computer mounts a USB, the files don't show up immediately, which is throwing off my script (which is quite quick). How do I make sure that the folder doesn't appear in my mounting directory (/...
2
votes
0answers
535 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 ...
1
vote
1answer
3k 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
776 views

Cannot remove file: Read-only file system [duplicate]

I am trying to delete a file on an Ubuntu 12.04 system for which I have root access. However, I am getting this error: root@CRST-Web:/home/real_property/html# rm -r -f results.php rm: cannot remove `...
4
votes
1answer
3k views

How can I have a filesystem mounted during user login?

I would like a file based filesystem (~/Archives/inventory.locker) mounted upon user login and unmounted upon logout (~/Documents/Inventory). pam_mount seems to provide the functionality I am after, ...
2
votes
1answer
1k views

Remounting is not supported at present. You have to umount volume and then mount it once again

I was not able to chmod a file in my /dev/sda3 on my Ubuntu12.04 system. This is what I get when I try to see its information: $ mount | grep 'media' /dev/sda2 on /media/sda2 type fuseblk (rw,...
1
vote
0answers
198 views

What is the purpose of nodev? [duplicate]

I'm talking about the mount option. What is it used for? What is the purpose behind preventing device nodes from being created in a filesystem?
3
votes
1answer
63 views

How to find out when a mounted file system or device was mounted?

Not every file system or device is mounted during boot time. On servers it sometimes happens that a server log might already being rotated. How to find out when a mounted file system or device was ...
4
votes
1answer
226 views

Does rsync or duplicity really write files on mounted storage?

I've got an external storage, which is mounted as cifs: $ mount ... //somespace/backup on /mnt/backup type cifs (rw) ... And I have write some file: $ rsync /home/user/files /mnt/backup or $ ...
0
votes
0answers
233 views

Unable to mount 3TB GPT HDD

I have a little Problem, my Home-Server didn´t mount my 3TB GPT. Yesterday all was fine, this morning I realize that i cant go in my Network-Storage. First i thinked it was a network isue, but now i ...
2
votes
2answers
2k views

Mountpoint to different partitions and different filesystems

While reading on mount point, I think of file management in Linux as followed : / is the main body of a tree /a is a branch from the main body, /a/b is a branch from /a branch To mount a partition c ...
5
votes
2answers
1k views

How can I tell if a directory is mounted with noatime or nodirtime?

I work with an NFS partition on a mac. Commands like du take a very long time, and I was considering unmounting the NFS and remounting it with noatime and nodirtime. The partitions have been mounted ...
1
vote
0answers
541 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
384 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 ...
3
votes
2answers
132 views

How can you write to a file system before booting using VirtualBox?

I'm reading the TurnKey Linux 14 documentation and it states that in order to preseed values for an appliance, you have to write them to the file system before the machine boots for the first time. ...
2
votes
1answer
493 views

Mount HTTP directory on Raspbian?

Is there a way to mount an HTTP resource in Raspbian (default Raspberry Pi OS)? I have an HTTP server hosting music, and I would like to be able to have read-only filesystem access to that music on ...
1
vote
1answer
614 views

Airtel 4G dongle mounting

I am using a HUAWEI mobile broadband LTE USB stick model E3272. Whenever I insert it, it displays an error message like: Error mounting /dev/sr1 at /media/bhuvan/airtel: Command-line `mount -t "...
0
votes
2answers
756 views

how to mount a filesystem without a mount point

In Ubuntu 14.04.3 inserting my SD card causes it to be automounted to a mount point that does not exist. How can I do this? /dev/mmcblk0p1 30780420 2269796 28510624 8% /media/admin/backup-...
1
vote
1answer
134 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 ...
7
votes
2answers
424 views

Strange mount entries, procfs on net:

On a device I get among others the following strange entries for mount: none on net:[4026532603] type proc (rw,relatime) none on net:[4026532424] type proc (rw,relatime) Any idea what or for what ...
1
vote
2answers
83 views

Where is the information about the file system format stored in External Hard Disks

I was reading about mounting in Operating Systems and have the following question related to it: When we plug an external hard disk it gets automatically mounted in our file system, the one our ...
1
vote
1answer
61 views

Is it possible to mount a partition only for some users?

This thread comes from here. Even when it is an Android question, I think the theoretical command line part should better be asked here. In short: I have achieved to mount a Ext4 file system, but ...
1
vote
0answers
295 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
1answer
419 views

Problem mounting disk

[root@localhost ~]# fdisk -l Disk /dev/xvdb: 2147.5 GB, 2147483648000 bytes 255 heads, 63 sectors/track, 261083 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/...
4
votes
1answer
5k views

remounting FS with read write rights

Looking for the read only file system: grep "\sro[\s,]" /proc/mounts /dev/disk/by-uuid/2c04d594-b11d-4b02-b1b3-3d9f0b66b73c / ext3 ro,relatime,errors=remount-ro,barrier=1,data=ordered 0 0 So the / ...
2
votes
1answer
738 views

Making aufs union mounts read-write

So I've got two systems, lucyvanpelt and schroeder. lucyvanpelt's /home is exported read-write to schroeder via NFS. Its location on schroeder is /mnt/home/lucyvanpelt I want to union-mount it with ...
2
votes
2answers
7k views

warning: Filesystem seems to be mounted read-only

I have an old SGI indigo with an EFS file system (Extent File System ), and the password needs to be reset. I can mount the hard drive, but read-only. I need write permissions. # mount --rw -t efs /...
1
vote
1answer
2k views

System claims my USB is mounted when I insert it and I cannot (un)mount it. How do I fix this?

I'm running Ubuntu 14.10 Server (headless). I have a group of USB flashdrives that I need to reformat for use across several devices. I've successfully mounted, formatted, copied files to, and ...
5
votes
1answer
994 views

Undeletable directory

Everything I've tried (always with superuser privileges) has failed: # rm -rf /path/to/undeletable rm: cannot remove ‘/path/to/undeletable’: Is a directory # rmdir /path/to/undeletable rmdir: failed ...
0
votes
1answer
66 views

Mount a disk over another disk

I have a Drupal website on a VM (RHEL 7) and it works on an SSD storage both public and private directories: /storage/drupalpublic and /storage/drupalprivate. Now and in the future, I need to store a ...
0
votes
1answer
35 views

Can I find the filesystem a file is going to be installed to? [duplicate]

I have a list of files along with their filepaths, that I'm planning to copy into a server. Is there a way, I could figure out before I copy, which filesystem it actually would go into? assuming the ...
5
votes
1answer
2k views

Monitor folders mounted via SSHFS

I want to monitor changes made a folder that is mounted via SSHFS. I have tried iwatch but it does not notify when a new file is created, below is the syntax I am using with iwatch: iwatch -e create ...
3
votes
0answers
913 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 /...
2
votes
1answer
825 views

do I need fsck.ext4 before mounting a filesystem?

I have a script that mounts /dev/sdc1 to /home. I do not know the state of /dev/sdc1 in advance, it could possibly be "dirty". Do I need to run fsck.ext4 before mounting the filesystem, or has mount ...
2
votes
1answer
4k views

NTFS-3G: All files are an “unsupported reparse point”

I just connected my NTFS HDD to my homeserver and I have an odd problem. EVERY file on the HDD is displayed as an "unsupported reparse point" in ls -lsa I tried mounting with different permissions ...
3
votes
1answer
2k views

How can I (easily) map a block device node to the directory it's mounted on?

I need to find (in C or C++) the used space on a filesystem (Linux) when being provided only with the disk block device name and the partition number. For most filesystems I can go: Craft a dev name ...
336
votes
2answers
261k views

What is a bind mount?

What is a “bind mount”? How do I make one? What is it good for? I've been told to use a bind mount for something, but I don't understand what it is or how to use it.
2
votes
1answer
575 views

Mount linux mount in windows (without ftp)?

I successfully mounted my external hard drive (ntfs) to /mnt/seagate. I'm using debian and the server is connected over LAN to my PC. So how can I mount my hard drive in my windows explorer without ...