Ubuntu Networking :: Failing At Fstab For Shared Drive

Dec 20, 2010

I have an external HD attached to my desktop and setup as a shared resource. I want to be able to access it from my laptop as well. After much trying and drinking, I ended up with this in fstab:

//crackbox/seagate /seagate -o

then began giving me an error about not recognizing the file system type. I've been reading everything I can find and trying to get it to work, and have come up with very little. My fstab now contains this line instead of the above:

[code]...

Now, when I reload fstab with "sudo mount -a", I get this output:

[code]...

View 9 Replies


ADVERTISEMENT

Ubuntu :: Shared Folder Mounted On Startup - Fstab

Oct 27, 2010

I want to have a shared folder mounted on startup and I put the following in my fstab:
Code:
VMShare /media/VMShare vboxsf defaults,gid=1001,dmask=002 0 0
Where did 1001 corresponds to the virtual share group.

When I boot up the permissions are as follows(from ls -l):
Code:
drwxr-xr-x 1 root virtualshare 68 2010-10-27 15:45 VMShare/

So I'm curious why it's group permissions aren't the same as owner? In the fstab I put dmask=002 which should lead to rwxrwxr-x so basically full permissions for owner and group and read/execute for public. However thats not what I'm getting. Also once I get this working correctly am I going to have an issue if the virtualshare group isn't a users primary group? On some older unix servers I ran into this issue, hopefully it won't matter as long as the user in in the group.

View 3 Replies View Related

Fedora Networking :: Can't Mount The Shared Drive On Laptop

Feb 19, 2010

I recently installed Fedora 12 + KDE on my laptop. I also have a media PC which I have connected to my TV. It has an external HD connected to which I am trying to mount on my laptop. It is connected to two other PCs all running Windows 7, part of a workgroup that only requires a password with no user log in. These PCs are working OK but I cant mount the shared drive on my Fedora laptop. I have tried the "Add Network Place" wizard which didnt work. Tried using the host IP rather than the host name. This got me to a user authentication screen which prompted me for a username and password.

As I mentioned before, the only user authentication required to connect to it should be that the device should be within the same workgroup and use the password. Tried using the workgroup name as the username which didnt work, neither did using the PCs usual log in. Eventually I gave up on the wizard and attempted to mount it from the command line using the following command.

[Code]....

View 2 Replies View Related

Ubuntu Networking :: Mounting Shared Drive On Networked Machine [wubi]

Apr 21, 2010

I have a machine running Ubuntu 9.10 that has an external HD with shared folders music folder and media downloads folder). I have set up SAMBA on that machine.

On my laptop I am running a dual boot system with Windows Vista and using wubi install, Ubuntu 9.10.

In Windows, I am able to wirelessly connect to the shared folder and access the music folder and the media downloads folder on my Desktop Ubuntu machine. All is good.

When I boot in Ubuntu, I am unable to connect to the shared folder under Places > Network I can negotiate to the MSHOME (the name of my work group). Once selected I get the error Failed to retrieve Shared List from server error message.

View 2 Replies View Related

Ubuntu Networking :: Samba Can't Access To Any Shared Folder On Secondary Drive

Sep 27, 2010

I successfully installed Samba, but have problem with access to any shared folder on my secondary drive. If I try access secondary drive with admin user, everything is fine. If with another account try to access via samba to shared folder on partition with Ubuntu, everything is fine again. Every folder has set privileges to read&write to everyone, so shouldn't be problem here.

View 8 Replies View Related

Server :: Samba Entry Of Fstab To Mount Windows Shared Folder On Machine

Dec 15, 2010

I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.

View 6 Replies View Related

Ubuntu :: DVD Drive Isn't In Fstab / Why Is So?

Mar 12, 2011

DVD Drive Isn't In fstab. Isn't In fstabDoes anyone know why this should be so? code....

View 3 Replies View Related

Ubuntu :: Ddrescue On A Failing Drive?

Nov 28, 2010

extract some data off a failing drive the other day. I plugged it in, but got no response in windows or linux (partition is ntfs), but it does appear in the bios and /dev (though the hdd hung most linux liveCDs except rescue remix 9.04). I tried to analyze the drive, and found good smart data, so I figured there were just a few bad blocks in critical places. I ran spinrite against it in level 2 mode. the process crawled (40MB after 2 hours) and it updated the smart data to reflect many many reallocated sectors, putting the drive into a failing state as far as smart is concerned. so, now, in a last ditch effort I am turning to ddrescue to try to get an image of the drive. it's been running about 17 hours now, and has done several complete passes through "Splitting error areas".

here is my current output:

Code:

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

have I done all I can? can I in good conscious declare this a lost cause? I do have an image from a prior run of ddrescue, with 826 MB of data.

edit: I resumed the task from log, and now it is reporting the err size as 9223 PB. since the drive is a 320GB, I find that a bit odd.

View 1 Replies View Related

Ubuntu :: Drive Keeps Failing Out Of Software RAID?

Jan 26, 2010

I have 4 1.5 TB Seagate drives configured in RAID 5 via mdadm on Karmic. It seems that after a while, one drive always drops out of the array. It's a brand new drive, and after a reboot, it will come back in and rebuild just fine, so somehow I doubt the drive is actually failing. Here's a dmesg snip. The mounting that happens at the top is the mounting of the array, and as you can see, after a while, there is some kind of write failure.

[70178.385356] EXT3 FS on md0, internal journal
[70178.385373] EXT3-fs: mounted filesystem with writeback data mode.
[95234.954141] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[95234.954160] ata5.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[95234.954162] res 40/00:00:c6:66:a8/00:00:ae:00:00/e0 Emask 0x4 (timeout)
[95234.954168] ata5.00: status: { DRDY }

[Code]...

View 1 Replies View Related

Ubuntu :: Drive Failing And Need To Move Partitions?

Sep 14, 2010

I have 2 500gb drives in my system. One of the drives I use for swap and home is failing, good thing it is under warranty... Bad thing I have to remove the drive from my system.

I have / on the first drive taking it all up. On the drive that needs replaced I have /swap and /home taking up the whole drive.

Is there a way to shrink /dev/sda to put swap and home on that drive and to move it back when new drive arrives? Or would it be simpler to just re-install to one drive?

View 4 Replies View Related

Ubuntu :: Fstab - Trying To Mount Hard Drive ?

Aug 18, 2010

Installed ubuntu 10.4 on a formatted hard drive IDE. desktop has two other drives , one SATA drive and one SCSI drive. SCSI drive has windows.

Both windows and ubuntu load fine through GRUB2 etc

I had installed WUBI before on the SATA drive and then i uninstalled it.

problem is that when i log in to Ubuntu i see on fdisk

But i cannot access the SATA drive /dev/sda i tried mounting the drive but i get an error saying this is mounted as /dev/sdb5

How do i mount the SATA drive to get access to the drive ? i messed around with this drive when i was using WUBI. i.e. tried to mount it to recover grub but never got it working. Now somehow it seems that this old mounted drive is messing with my current Ubuntu install.

How to recover my fstab is shown below:

Changed the connect sequence in BIOS and mounted the volume using sudo mount /dev/sdb1 /media/sdb1

View 1 Replies View Related

Ubuntu :: Mounting Hard Drive With Fstab?

Aug 27, 2010

I purchased a new hard drive, plugged it in, formated it, edited fstab to auto mount it, and though it is mounting the drive, it won't allow me write privileges. I can read the drive, but I need root access to write to it. The drive giving me the issue is sdd1. The others, I have no problems with. I can read and write to those without a hitch.

Here is my fstab

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=5d0ed718-2719-4b28-a031-9ab10f9aa740 / ext3 relatime,errors=remount-ro 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

[Code]...

View 9 Replies View Related

General :: 4 Month Old Drive Failing?

Apr 11, 2011

I have a 2 Tb drive that Linux is saying is failing, the reason for this is Relocated Secotor Count, should i really worry and why is it happening to such a new drive its only 4 months old I received it on December 30th I woudl think it would not be bad at this point.

View 14 Replies View Related

Ubuntu :: Failed Backup Attempt Or Failing Hard Drive

Jan 5, 2010

I made an attempt to backup my system (karmic koala) using this routine. cd / then sudo tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /

The process of backup went on for a very long time, which is probably normal. On returning to the computer in the morning, it was in suspend mode and would not power on via the usual method,tapping power button. So then I used the reset button, and after booting up a message appears on the top right that reports "Install problem! The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator."

Is there something wrong with the statement that was used for backing up the system? Also when I attempt to login it does not work now either, it eventually returns to the login user selection. So is there a possibility the backup finished and then there may be a chance the system can be restored from the backup file? I have tried booting up with a live cd and could use some advice on how to navigate with terminal to root of the system and see if the backup file exist even, have been unable to get to the root folder(where the backup would be) with the GUI method via live cd.

View 1 Replies View Related

General :: Booting - Lvm - Failing Hard Drive - Ubuntu Server

Aug 3, 2009

I seem to have a complex issue on my hands that i can't figure out. first, i wasn't able to get access to my LVM'd hard drives via SSH without half of the content being missing or locked out (read-only or unable to open at all). the problem then went up to being unable to boot up - all i got was a long slew of [100.1234] ata1.00: error messages (they eventually DO stop once they get to around 998.234234 or whatever, and then i can log in and it seems to be "stable").

Part way through this rebooting ordeal i realized / decided to make power-on-self-test stop and wait if it finds errors (via bios) - that showed me that my 750G SATA drive is "bad" and my two (older) 120G & 250G IDE drives are "ok". i then unplugged the SATA drive, rebooted, and didn't see those error messages. however, my LVM was still obviously not coming together (since LVM was made up of the 120G, 250G, and 750G drives)

So, now it seems:

a) I can't boot smoothly with all drives in place
b) I can't do anything with lvm if i remove the 750G sata
c) With all drives hooked up, i can wait 10mins for the errors to go away, but STILL can't do anything with lvm
d) I need to recover the lvm stuff so that i can nicely migrate ALL those files (1.1TB of it) onto a new 1.5TB drive and do away with lvm

This is all running ubuntu 7.10 server edition (32-bit version on a 64-bit computer). i DID post a question on the ubuntu forum as well but so far got no replies at all.

Here's a few pics of the booting process, with one or two "fail" lines showing.

View 14 Replies View Related

Debian Hardware :: How To Diagnose Failing CD Drive

Feb 14, 2011

I've got an LG CD/DVD player/writer in my desktop, and it's suddenly stopped working. No error messages at all, but it doesn't acknowledge any discs any more, whether they're CDs or DVDs or CDRWs or anything. How can I diagnose what's wrong? It's only 1.5 years old so I wouldn't expect it to be a hardware problem really, but I can't think of anything else. At first I thought I'd broken something with Squeeze, but I ran a live system from USB stick and it also can't read any discs at all. Also I tried a bootable DVD and couldn't get that to boot either, so I'm pretty confident it's not a software problem. It's always worked fine before and hasn't had any shocks or moves or anything (that I know of). The green light flashes when I close the drawer, just flashes a few times and then stops. There's nothing in /var/log/messages. Are there any tricks to figure out what might be wrong or is it looking like I need to buy a replacement drive?

View 4 Replies View Related

General :: Saving Data From A Failing Drive?

Dec 29, 2010

An external 3½" HDD seems to be in danger of failing” it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious drive with the best chance of saving as much as possible. There are some directories that are more important than others. However, I'm guessing that picking and choosing directories is going to reduce my chances of saving the whole thing. I would also have to mount it, dump a file listing, and then unmount it in order to be able to effectively prioritize directories. Adding in the fact that it's time-consuming to do this, I'm leaning away from this approach.

I've considered just using dd, but I'm not sure how it would handle read errors or other problems that might prevent only certain parts of the data from being rescued, or which could be overcome with some retries, but not so many that they endanger other parts of the drive from being saved. I guess ideally it would do a single pass to get as much as possible and then go back to retry anything that was missed due to errors.

Is it possible that copying more slowly — e.g. pausing every x MB/GB — would be better than just running the operation full tilt, for example to avoid any overheating issues? For the "where is your backup" crowd: this actually is my backup drive, but it also contains some non-critical and bulky stuff, like music, that aren't backups, i.e. aren't backed up. The drive has not exhibited any clear signs of failure other than this somewhat ominous sound. I did have to fsck a few errors recently — orphaned inodes, incorrect free blocks/inodes counts, inode bitmap differences, zero dtime on deleted inodes; about 20 errors in all.The filesystem of the partition is ext3.

View 2 Replies View Related

Hardware :: Hard Drive Failing Using Dd To Copy To A New One?

Jul 3, 2010

In my laptop I have a 200GB hard drive that is starting to make clicking and grinding noises and won't boot about every third try.

Code:
root@Frank2:/home/bruce# fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]...

/dev/sdb is a usb flash drive that has pmagic (not sure of the version, but it's 2.6.32.9-pmagic kernel, so I think it's the latest version). I'm posting from pmagic right now because I don't want the failing disk to get any worse until I get this sorted. I also know there is a post here called something like 'learning the dd command' or 'mastering the dd command' or something to that effect, but I can't find it for the life of me (I have it bookmarked on the failing drive, of course). If someone could point me to that post,

View 8 Replies View Related

General :: Add Flash Drive To Fstab File?

Mar 30, 2011

I have Debian 5 XFCE currently installed on my old desktop. I cant open my flash drive, it doesnt pop up on the desktop, nor is it in the file manager. I read that you can add it to the fstab list but I dont know how to do it.

My flash drive shows up as sda1 in lsusb.

get my flash drives working, thats how I install packages.

View 11 Replies View Related

Fedora :: Recover Data From Failing Hard Drive

Jun 26, 2010

Using F12 with a LVM Volume, Single disk with OS on and boot partition. The OS HDD is getting i/o errors, but will still boot to the login screen. I've removed the HDD and connected it to a Fedora Live OS on my laptop, connected the HDD and it registers as :

[root@localhost]# fdisk -l /dev/sdd
Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e0069

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdd2 26 30401 243991201 8e Linux LVM

And it tried to mount /dev/sdd2 to view and see if I can recover some files.
[root@localhost]# mount /dev/sdd2 /mnt -t ext4[root@localhost james]# mount /dev/sdd2 /mnt -t ext4
mount: wrong fs type, bad option, bad superblock on /dev/sdd2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Any way to mount the partition to allow me to try and get some data back, or if trying to do a full backup of the drive you can get it to ignore i/o errors.

View 1 Replies View Related

Hardware :: Can Clone Failing Hard Drive Easily?

Jun 8, 2011

I have a 3 weeks old PC which I've just finished getting set up with Ubuntu 11.04 and W7 in a Virtual Box. Now the drive has started making rumbling noises and doesn't always boot.The engineer from Dell is coming tomorrow to replace the drive, but what can I do about transferring the whole old drive to the new one in full working order, quickly?

I've been using rsync to keep backups of my home folder, so I've got the data side covered. But I don't really want to spend the next couple of weeks re-installing all the software, printers etc all over again. So is there a quick, easy way of replicating the old drive with partitions, VB, etc (I'm not that good at using the terminal) ?

View 5 Replies View Related

Hardware :: NTFS Drive Failing While Recovering Files

May 19, 2010

I have an external drive that has been formatted as NTFS and I need to recover the files. For the most part, on windows, I can read the drive however When I'm copying, it interrupts with an I/O failure. Is there a way to copy the files from Linux and have it continue even if it has an error?

View 3 Replies View Related

Hardware :: Squeezing More Life Out Of A Failing Hard Drive?

Jun 3, 2010

I'm using xubuntu on a box that has 2 drives. One is quite small mounted as / and the other larger drive is mounted as /home Both drives are IDE The /home drive has had some failure in the past & occasionally creates errors. Is there any way of identify which sectors are bad (or good) and isolating them to try & get some more use out of the drive?

It won't be used for storing valuable data.It is an old box for visitors to use. But it would be handy to use it to store some large read-only audio files. I've installed smartctl & could post output from there if you think it is useful. I can't work out how to interpret the information.

View 7 Replies View Related

Software :: Unetbootin Failing To Create Bootable Drive?

Sep 22, 2010

i have a Sandisk 5gig USB key that had mint 9 live on it that i was hoping to get an old brotasaurus (Dell Latitude D510) up and running again with. apparently Mint is too pretty for the beast and so I tried to get mint Fluxbox to install on to the key, then i tried Fedora, and finaly i tried DSL. Unetbootin seems to have stoped making the key bootable as three of my laps seem unable to read it.

[Update] so i tried dd'ing the iso to the usb following the instructions on the suse site

# umount /dev/sdb1
# dd if=/home/Derf/Downloads/dsl-4.4.10.iso of=/dev/sdb1 bs=4M;sync
and it is still failing to create a bootable usb. says

missing operating system

intel UNDI, PXE-2.1(build 082)
copyright (C) 1997-2000 Intel Corporation
For Realtek RTL8101E/8102E PCI-E Ethernet Controller v1.08 (080408)
PXE-E61: Media test failure, check cable
PXE-M0F: Exiting PXE ROM

View 4 Replies View Related

Server :: Mounting Remote (NFS) Drive - Adding To Fstab

Oct 25, 2010

From a Fedora 9 server (I think!) I'm trying to mount an nfs drive from a Mac Server. You see, a couple weeks back this was working fine but now there seems to be a problem. I've tried using the mount command and found the following line in the /etc/fstab doc...

Code:
<IP ADDRESS>:/remote/nfs/directory /directory/to/mount/on nfs defaults 0 0
It was commented so I uncommented it, hoping this would be a quick and easy resolution =). Anyway, it didn't work and when I run mount -av the server timesout. So on the Mac Server, I enabled Samba sharing preferences and tried adding this to fstab,

Code:
<IP ADDRESS>:/remote/nfs/directory /directory/to/mount/on cifs username=name,password=password 0 0
When I run mount -a it hangs. I guess I'm doing everything totally wrong. I can SSH into the MAC Server and use tar, rsync etc with no problem. But I really need this drive to mount as it once use to. It's been suggested to me that the NFS or networking module on the Linux box might be broken.

View 2 Replies View Related

Ubuntu Installation :: Grub Rescue - Access My Files On External - Failing - Drive ?

Jun 28, 2011

I have an hp laptop and i had ubuntu on it for 3 years. my hard drive started to fail a while ago (i had ubuntu 10 on it until 1 week ago) and a then it all went black...I took the laptop to a repair shop, they told me it was the disc, so i bought a new disc, installed it on my laptop and reinstalled the new ubuntu 11. so far so good. i have now a working OS, internet connection and i can in fact type this message.

The thing is: all my files are on the old drive, which doesn't load/boot/start/read anymore. I have tested it on some friends's pc, tried a few HD disgnostic tools, they all send the same message: "fail"

I then tried to mount my old drive (with all my precious files in it) on my laptop as an external drive (usb) hoping that ubuntu 11 could read it as an external usb key: it gets read by the system, but it shows no files at all. it also shows an error message saying the drive can not be mounted, with some "sdb1" thing. i am sorry but i'm really dumb when it comes to tech language.

Then i tried to boot it on start-up but i got the grub rescue> thing and nothing else, just a sad, blinking cursor to recover my files,i have also tried testdisk but couldn't understand very well how to use it, and then photorec, from which i recovered bits and pieces of files, with no name. some of them are just parts some of them are complete.

My problem is: i have to get access to my files, as I use them for work, i couldn't do a back-up recently and i have some real important deadline to meet... for which i need those files. is there any way i could solve the grub issue and have that drive load/mount again as external usb?

View 9 Replies View Related

Ubuntu :: Accessing Drive When Fstab Contains UUID's / No Longer Pertinent To Any Hardware On System

Jul 8, 2011

I cloned one of my hard drives to another, using Acronis True Image Home 2011.In the process, of course, fstab got copied verbatim from old to new.I then, using a livecd on a flash drive, mounted the new drive, went into fstab and rewrote the UUID's, using the numbers I'd gotten previously by doing sudo blkid.Now, the new drive had the UUID's revealed by that command.Then, I used boot-repair, from yannubuntu, to make that drive bootable, since it wasn't after the cloning and after the fstab rewrite.The drive is bootable, and it's mountable from a flash drive, or from the old drive.

I can access files either way.the fstab file on the new drive still has the old numbers, yet when I ran boot-repair, it apparently changed the UUID's for sectors 1 and 5 on the new drive.fstab seems to be irrelevant at this point, yet everything I read about it indicates that it is not only relevant, but necessary.I don't understand how I can be accessing the drive when the fstab contains UUID's that are no longer pertinent to any hardware on my system.

View 5 Replies View Related

Fedora :: Finding A Backup Failing Laptop To Standalone Drive?

Feb 11, 2010

I am running Live 12 on my CD rom drive of my dying laptop. I have a major Windows registry error on that system and am working to recover my files. I have successfully moved a couple of folders from the laptop to my Seagate Free Agent Drive as a test.What I would like to know is, is there a way to copy my files and folders without literally dragging and dropping each one? We're talking 140 G of folders....sigh.

View 1 Replies View Related

OpenSUSE Install :: Get Device IDs From Drive Devices For Fstab Scripting?

Apr 1, 2011

I am trying to write a script to modify /etc/fstab that will add entries for a number of partitions on different disks.

The only thing that I do not know how to do is to obtain a unique id such as the ones in /dev/disk/by-id/ to address by from a given partition (ie /dev/sdb1). In my fstab I noticed that in installation the system added fstab entries that are unique (in /dev/disk/by-id/)

I could simply do /dev/sdb1 and so on, but I would prefer a unique identifier so that each mount point is tied to a partition on a specific and unique physical drive.

i need this to be script-able if possible, if not I would still like to know.

View 3 Replies View Related

General :: Mount Network Ntfs Drive On Server And Add It On FSTAB?

Jan 25, 2011

I am using CentOS 5.5 OS. I already install ntfs-3g rpm, but I don't know the command to mount network NTFS drive. I also want to mount it on my fstab file, so whenever it reloads, it can automatically mount on the specific folder.

View 9 Replies View Related







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