Ubuntu :: User File System Check When Mounted?

Sep 1, 2011

A non techie friend has helped an even less techie friend by contacting me by email to discuss an ailing laptop. A few emails were exchanged, with more details, and it was not looking good because it seemed that suddenly the CD drive was not responding, nor any USB devices, the wireless icon was gone, but Ubuntu still seemed to work (for now), with wired ethernet also working. I was struggling to think of what could be done, with the favourite routes of Live CD and Live USB apparently gone.

After a few more hours - another email: 'It's now working! After so many reboots it checked disc for errors and repaired itself! Is there some way of doing that when needed anyway?'I see there is 'Disk Utility', and this would presumably fit the bill, but how does it do checks and repair when the damaged file system is being run, and is currently *mounted*? I thought utilities like fsck(?) could only be run on unmounted file systems? Have I misunderstood the disk utility fs check repair function? And anyway, what might be a good answer to my (nontechie) friend's question 'After so many reboots it checked disc for errors and repaired itself! Is there some way of doing that when needed anyway?'

For the record: (quote) It is a toshiba EA60-155 Model number PSA67E-00300C8J. He put in extra ram to install ubuntu. He thinks he may have deleted something! There is a 'trash' file on his USB drive with loads of stuff in it and he doesn't know how or why but because it won't now read the drive on her laptop we cant replace it! (end quote)

View 3 Replies


ADVERTISEMENT

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related

Ubuntu :: Check Last User On File Open?

Jun 22, 2011

I know there's no direct way to do this. But can someone please suggest how I'm able to check the last user that opened a file?eg; vi test.txtThe last user that accessed test.txtI know last access/mod/change time can be displayed.Also lsof won't do anything as the script I'll be writing won't necessarily be running when the user has already closed the file

View 4 Replies View Related

Ubuntu :: How To Make File System Auto-mounted

May 15, 2011

Under my 'Places' in my file manager, I have a '21 GB file system' How can I

1. Have that 21 GB auto mounted every time I login? I now need to right click and select 'mount'?

2. Give it a name so that it won't call 'a9f28af4-71db-4e49-8c05-f652bf808cc1/' under my directory '/media/'?

View 2 Replies View Related

Ubuntu Security :: Write Permission To Mounted File System?

Feb 1, 2010

I just found that I could perform write operation using a normal user account to a file system I mounted with the commands as followed:

sudo mount -t ntfs /dev/sda1 /mnt/disk/

This is the corresponding entry in the output of "mount" command:
/dev/sda1 on /mnt/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

As far as I remember, when using a normal user account, I had to use "sudo" to perform any write operations (mkdir, rm, etc) to a device mounted using "sudo". But now it seems to be changed.

Do I remember wrong, or did Karmic have any updates change this setting? (I never manually changed user settings, except that I added a root user, but I never used it.)

OS: Karmic(up2dated)
Kernel: Linux stephen-laptop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux

View 4 Replies View Related

Ubuntu :: Hiding The Icon Of A Mounted File System Icons From Desktop?

Mar 16, 2011

10.04 LTS: Is there a way to hide an icon of a mounted file system from the GNOME desktop?

View 8 Replies View Related

Ubuntu :: Repairing File System After Partial Fsck On Mounted Partition?

Apr 4, 2011

I'm running an Acer Aspire 1830T-3721 dual-booting Windows 7 with Ubuntu 10.10 (Desktop).

Background: So first I dropped my laptop a couple feet while Windows was running. The laptop immediately shut off and then tried to boot. Booting Windows results in an unfortunate "Windows has encountered a problem communicating with a device connected to your computer. The error can be caused by ... faulty hardware ... Status: Oxc00000e9 Info: An unexpected I/O error has occurred." But Ubuntu booted fine, and could access my NTFS files fine, so I was trying to work on the problem from there. I try a few utilities, looking at the partition table, etc without actually applying any changes.

Then I run a fsck on the drive. It loudly warns me that if I continue on a mounted drive, then I'm going to mess things up. In a moment of stupidity I push on, thinking that surely it would ask me for more configuration, or confirmation, before actually starting. The fsck runs for about 1 second before I Ctrl-C it, running some preliminary stuff and then just starting pass 1.

After this, Ubuntu won't boot anymore. Instead, it hangs just after the init-bottom script runs. If I boot with init=/bin/bash, I can get to a shell, and see that my file system is still there, but not sure what else to do.

I've been running off of a SysRescCD LiveCD, from which I've looked at the drive with testdisk. Testdisk reports that "the hard disk seems too small" while showing me the partition table.

I ran a fsck on the Linux partition; it fixed a bunch of things. There has been no apparent effect on the boot behavior.

I can access all my files, back them up, and reinstall Ubuntu, but I'm hoping there's a better solution, perhaps one that will also help me repair my Windows installation (but I'm looking at one problem at a time here).

View 4 Replies View Related

General :: Moved File Partitions - File System Check Failed On Fedora, Windows Will Not Boot

Dec 16, 2009

my partitioning layout was as follows

Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)

so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.

View 7 Replies View Related

Slackware :: File System And Mounted Point Information Log During Boot?

Jul 25, 2011

I want to make sure that all my file systems and mounted points are OK during boot time. Which log file in Slackware shows such info?

View 3 Replies View Related

General :: Root File System Is Mounted Read-only On Boot On Gentoo?

Sep 27, 2010

I am using Gentoo Linux and for a while now, the root file system is mounted read-only on booting. For obvious reasons, this is quite annoying as most services do not start up correctly (I do not use a separate file system for /var). After the system is up, I have to log in, remount the root file system read-write, fix /etc/mtab, mount all other file systems in from /etc/fstab and then start up all the missing daemons. I know that there are ways to make a system run properly with a read-only file system, but I would rather restore the old behaviour of a writable root file system.

The strange thing is that after running mount / -o remount,rw, the file system is mounted in writable mode without any errors. I suspected some problem with fsck, but now I have disabled automatic file system checks on the partition (tune2fs -c0 -i0).When I run dmesg, only these lines mention the partition at all, although I am not sure if not something gets lost because /var/log is not writable:

EXT3-fs (sda5): mounted filesystem with writeback data mode</code>
EXT3-fs (sda5): using internal journal
The line in /etc/fstab looks like this:

[code]....

View 2 Replies View Related

General :: Recursive Write Permission On Cifs Mounted File System

May 14, 2010

I have mounted a iomega file system on a cetos os machine using

mount.cifs //filserver-ip/directory /home/my-home/mounted-file -o
user=username

(** mounted as root) The mounting works fine.

The problem arises when I try to create a sub-directory inside the mounted directory. All the newly created sub directories become write protected.

I am accessing this file system from R software and it needs to write/create directories in side this mounted directory.

how can newly created sub-directories will become automatically writable, so that R can create new sub-directories and write data inside those directories.

View 2 Replies View Related

Networking :: Programs Cannot Create Temp Files On Nfs-mounted NTFS File System?

Jun 14, 2010

I have an NTFS file system nfs-automounted on our RedHat servers. Users can read and write to the file system no problem, and can create new files, edit them, and delete them to their heart's content. The only issue is that utilities such as "dos2unix" cannot create temporary working files:

$ dos2unix events.0818.dat
dos2unix: converting file events.0818.dat to UNIX format ...
Failed to open output temp file: Operation not permitted
dos2unix: problems converting file events.0818.dat

This isn't limited to "dos2unix"; any other utility that creates a temporary working file gets the same problem. If I copy the file to a local file system like /tmp, it works fine. Here's the kicker: this works fine on Solaris systems. I can take the "dos2unix" utility over to a Solaris system that has that exact same NTFS file system automounted via NFS, and it works. No issues creating temporary working files at all.

View 5 Replies View Related

Ubuntu :: File System Check Failed. Won't Boot?

Mar 9, 2010

I've been stupid, and used kleansweep, which deleted a load of files and in the process killed everything. When I boot I get "file system check failed". Then it gives me a command prompt. I really don't want to have to reinstall ubuntu as I have a lot of stuff installed on it.

View 9 Replies View Related

Ubuntu :: File System Check Is Always Skipped At Boot Up?

Sep 30, 2010

I have recently noticed that my HDD fsck during boot up (generally done after 30 mounts) is always skipped. A file system check has never happened. I don't remember if this is the case ever since I upgraded to Lucid or was it after I tweaked some settings.I am a learner who keeps tweaking some minor settings, so I am not sure if I have screwed up something.At boot I get the following message:

Code:
fsck from util-linux-ng 2.17.2
fsck from util-linux-ng 2.17.2

[code]...

View 4 Replies View Related

Ubuntu :: Error - File System Check Failed

Mar 10, 2011

I have a Hp Netbook, and my friend installed Ubuntu to my computer. Everything was going fine, until one day my battery died while I was searching the web. I turned it back on and It started checking files and then it took me to a black screen with white letters saying "File System check failed".

View 3 Replies View Related

Debian :: File System Check Failed?

Feb 10, 2011

My system from and after that at startup as it was doing a file system check I got this:

Checking file systems ... fsck 1.41.3 (12-Oct-2008)
/dev/sda1: clean, 30/124496 files 34735/248976 blocks
/dev/hda1 contains a file system with errors, check forced.

[code]...

View 6 Replies View Related

CentOS 5 :: Bypass File System Check?

Dec 1, 2009

On my laptop I have a dual boot system, CentOS 5.4 on one partition and Windows Vista on the other. In Windows, I have a program installed that allows me to access my linux partition so I have access to the files. Every time I boot into linux after accessing the linux partition through windows, I get a forced file system check. I was wondering if there is a way to disable or perhaps bypass this check?

View 1 Replies View Related

Ubuntu :: During The Start Up - Stopped To Respond While Doing A File System Check

Mar 4, 2010

Suddenly today during the start up the pc stopped to respond while doing a file system check...

I switch it off, restarted and everything seemed to be fine, i got the desktop without troubles.

Then i tried to boot from the live Key and run a fsck but it didn't work, i got some error like:

superblock could not be read....and at the end it says to run e2fsck

I did it and i got the same error...

So i restarted ubuntu and i decided to try:

And i got a blue screen where i selected the first option (something alike restart in normal way)

At the next restart i finally got the checking and it was fine! why i can't run fsck or e2fsck from live key

View 1 Replies View Related

General :: Error Occurred During The File System Check

May 18, 2010

i have problem during boot my F11 , the problem is :

Code:

checking file systems
/dev/sda7 : superblock last time ( etc... )
/dev/sda7: Unexpected inconsistency ;run fsck manually (i.e,without -a or -p option)
***an error occured during the file system check
***dropping you to shell:

View 2 Replies View Related

Software :: Error Occurred During The File System Check

Feb 2, 2010

An error occurred during the file system check, dropping you to a shell; the system will reboot when you leave the shell. Give root password maintenance (or type control D to continue)

View 13 Replies View Related

Ubuntu :: How To Check Windows 7 For File System Errors Since Grub Is Blocking It

Apr 25, 2010

Dual booting Mint 8 and Windows 7. Windows is reporting a file system error. I go into properties and check for errors, but since it's in use it asks me to reboot. I do, and grub comes up. I select windows and it just takes me to windows without checking the file system.

View 1 Replies View Related

Ubuntu :: Command Prompt And Said The 'file System Check Failed' And To Run Fsck Manually?

Feb 25, 2010

I have Ubuntu 9.10 installed on my HP desktop, but I'm running an older version (8.10) on a live CD so I can at least get online to ask for some When I tried to log on earlier it went to a command prompt and said the 'file system check failed' and to run fsck manually. I entered 'sudo fsck' at the prompt and I selected "y" to fix all the bad inodes, when it was complete it told me to restart, I then entered 'sudo restart' at the prompt and it said 'sudo uuid unknown'. I have not installed anything recently and I'm not sure what to do.

View 3 Replies View Related

Ubuntu Servers :: Backup Script To Check If A Path Is Mounted?

Mar 6, 2011

I'm writing a script to rsync some directories to external hdd for backup.

My external hdd gets automatically mounted to /media/backup1

My script then backs up predefined directories to /media/backup1.

I have added this script to cron to run once every day.

The problem is that in the case where the drive is not plugged in and the script runs, it backs up to my local hard drive, and since it is more than 70% full, it fills it up by duplicating that 70% onto itself.

I have taken the script further, to test whether /media/backup1 is mounted. If it is, the backup will run. If it is not, it will bail out.

I'm using the mountpoint program to test for mounts.

My script so far:

Code:
#!/bin/bash
if [[ `mountpoint /media/backup1` ]]; then
echo "filesystem mounted"
# The backup function. Commented out for testing.

[Code]....

View 9 Replies View Related

General :: Constantly Check Whether A Cd Is Mounted Or Not Using Bash?

Mar 20, 2010

i need to check if a cd is mounted or not using bash ... how is that possible?

View 8 Replies View Related

CentOS 5 Hardware :: File System Check Fails On Boot - Device Busy

Jul 20, 2009

The server comes up after rebooting and after setting the hostname it starts setting up logical volume management. It says that 2 logical volume(s) in volume group "VolGroupOO" now active But then it starts to check the file system and errors with fsck.ext3: Device or resource busy while trying to open /dev/sdb1 [failed]

***An error occured during the file system check
***Droppping you to a shell, the system will reboot when you leave the shell
Give root password for maintenace

After I log in with the root I get the message mesg: error tty device is not owned by group 'tty' Can the forum tell me how to troubleshoot this issue so I can boot back up again? I have 2 harddrives in this server and only 1 drive was detected when I first installed CentOS. The error first appeared when I mounted the 2nd drive at the mount point /UserGeneratedData. drive was formatted with ext3 before mounting and did not have any data on it I don't want any software RAID if thats what seems to be going on with "VolGroup00"

View 4 Replies View Related

Slackware :: Check If Device Is Mounted In A Bash Script?

Aug 1, 2010

Writing a bash script and I need to check if a known HD partition is mounted or not. I do not think /etc/mtab is the place to check. Would /proc/mounts always work? To make it simple like this : cat /proc/mounts | grep /dev/sdb2

View 5 Replies View Related

General :: CentOS - Disable Disk Check In Mounted USB Drive?

Aug 6, 2010

Is there a way to disable disk checks in a mounted usb drive? I have a 500GB usb mounted drive in my CentOS machine and everytime I reboot my system, it does disk checks which is a long painstaking process.
/mnt/sdb1

View 4 Replies View Related

Software :: Rebuilt RAID Array With Old Mount Points Present - File System Check Fails On Boot

Dec 2, 2009

I have one hard disk for my root partition and a disk array on a separate mount point. I rebuilt my disk array, but I didn't delete my original mount points beforehand because I was hoping it would just "pick up". So now when I boot up, the OS tells me that the filesytem check fails because it can't find the array to map to the mount point. I know that I need to edit my /etc/fstab and remove the line that defines my mount point on the disk array. But it appears to be read only filesystem when I am in repair mode. I can't force the write with vi.

View 3 Replies View Related

Slackware :: The Computer Booted Up, But Displayed A Message That Said Something To The Effect Of, "Error Occurred During Root File System Check?

Mar 3, 2010

Started slackpkg upgrade-up and went to bed. Woke up to find the power had gone out during the night. The computer booted up, but displayed a message that said something to the effect of, "Error occurred during root file system check. You will be given the option of doing maintenance......"I can get to a command prompt, but regardless of what I do a message pops saying it can't find libblkid.so.1

View 14 Replies View Related

Ubuntu :: File System Check Failed A Long Is Being Saved /var/long/fsck/checkfs

Jan 9, 2010

just start Ubuntu 9.04 said: File system chek failed a long is beging saved /var/long/fsck/checkfs if that location is writable Please repair the file systmen manually A maintenance shell will now be started Ctr+ D terminate this shell and resume system boot. Give root password for maintenance or type Control +D to continue. I did Ctr+D , and after login said , that can not find /home. I starte with the live cd:

[Code]....

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved