CentOS 5 Hardware :: 2TB Drive Installed RAID1 Not Mounting In Fstab
Aug 15, 2010
I have installed a 2TB drive in my dual PIII 866 with 750MB ram. The drive is properly installed and I have configured the drive with 1 partition in RAID1. The array loads fine, but when I add the entry to mount the /dev/md2 /data/repository the following error occurs The filesystem size according to the superblock is 488378000 blocks The physical size of the device is 488377986 blocks Either the superblock or partition table is likely corrupt I have run fsck manually with no errors reported. I have removed the partition and rebuilt the array. The array assembles properly and I can manually mount the /dev/md2, but as soon as I add the entry to the fstab I get dropped to a shell after a reboot. Not sure where to go now?
View 3 Replies
ADVERTISEMENT
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
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
Jul 2, 2010
The motherboard currently installed on my PC has a RAID Utility (Ctrl+I) at the startup that allow creating RAID1. But I already have a system installed with CentOS 5.4. In order to protect my data, I need RAID1. Can I add another Hard Drive now and have the data mirrored and synced onto both hard drives as if it was in RAID1 right from the beginning?
View 2 Replies
View Related
Mar 15, 2009
Yesterday I installed a new server with a large partition for my XEN images. This partition is a about 930GB. The installation tooks ages and after he finished I was finding out why that is. The SoftRAID1 I configured is rebuilding the large partition.
View 7 Replies
View Related
May 14, 2011
I installed a distro based on CentOS 5.5 (FreePBX distro FYI). It used an automated kickstart script to create an md RAID1 array of all the hard drives connected to the machine. Well, I installed from a thumb drive, which the script in interpreted as a hard drive and thus included in the array. So, I ended up with three md arrays (boot, swap, data) that included the thumb drive. Even better, it used the thumb drive for grub boot so I couldn't start up without it. I was able to mark the USB drive as 'failed' and remove from each array, and even change grub around to boot without the usb drive, but now each of the arrays is marked as degraded:
[Code]...
View 1 Replies
View Related
Dec 29, 2010
I have 2 WD20EARS hard drives on the way (2 TB green WD disks with 4k sectors) and I'll be installing Centos 5.5 in RAID1 on them (2 partitions, one 16 GB / at the beginning and the rest in its own partition). I read the following thread: [URL]
and it seems that I might be having problems with the 4k sectors (Advanced Drive Format in WD lingo). I'm confused as to what exactly to do. I was thinking of downloading Fedora 14 Live CD and partitioning there and then switching to Centos 5.5 to install. Will that work? Seems I want the md 0.9 metadata because it doesn't have the space limit for me (2 TB) and it's stored at the end of the partition so it avoids alignment issues. Will I be able to make that happen with Fedora 14?
View 2 Replies
View Related
Dec 7, 2010
I have a ubuntu 10.10 wubi installation. It is installed to drive g:. While using ubuntu it is not showing me option to mount to this drive. It is showing all other drives.
View 2 Replies
View Related
Nov 13, 2009
I have centos 5.3 installed. I plugged in a WD usb external HD, Icon is showing up on desktop everything is working formatted with ext3. I would like to have an entry for this in my /etc/fstab file, and I need to know how to enable Quotas on some files on it.
View 3 Replies
View Related
May 11, 2009
I'm running:CentOS release 5.3 (Final)
when I plug in a Small USB key, hotplug sees the new device, mounts it in userspace and creates a link on the desktop. The user can open the link and read and write to the USB key. I have tested 3 different usb keys and they all work. When I plug in a USB 250 GB drive (Lacie), also fat32, it doesn't mount:
May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB)
May 11 12:25:29 tinkerer kernel: sdf: Write Protect is off
May 11 12:25:29 tinkerer kernel: sdf: assuming drive cache: write through
May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB
However, I can mount the drive manually as root. The problem is that the user cannot write to the device if it's mounted by root.Is this a problem with hotplug/udev or another way that I can make this device available rw to the user?
View 2 Replies
View Related
Nov 26, 2009
I would like a USB thumb drive to be automatically mounted whenever I insert the drive into my PC (previously I had been mounting it manually with the 'mount' command). I gave the USB drive a unique label with e2label. I added an entry for it in /etc/fstab. This works in the sense that if I run "mount -a", the drive will be mounted. However, it still isn't completely automatic. Am I missing something? What else do I need to do?
View 8 Replies
View Related
May 5, 2010
I'm puzzled as to why this fstab isn't working:
Code:
# /etc/fstab: static file system information.
#
[code]...
View 3 Replies
View Related
Sep 29, 2010
I recently added myself a harddisk with one big ext4 partition on it. I tried to add it to my fstab file like so:
Code:
UUID=c41b529d-77ee-427c-82b3-dff16f2123a2 /media ext4 rw,user,noexec 0 2
But it is not doing what I intended, which was the partition showing up in my Places menu. It also doesn't appear in my /media folder. How to alter the command above so I could have the harddisk open and writable in my Places folder just like my system harddisk?
View 6 Replies
View Related
Jun 23, 2011
I have ubuntu 10.04 LTS installed. I want to mount a windows partition. I can, of course, use fstab. However, I open nautilus and click on the windows partition in the placed panel. How do I use mount (or any other command) to emulate this?
View 6 Replies
View Related
Jul 18, 2009
How to change the default noexec when an external hard drive is plug to CentOS through usb ?
View 4 Replies
View Related
Feb 9, 2010
I use Ubuntu 9.04 I have a problem. I have a file, containing ext2 file system ( mke2fs -F ~/fs.ext2 )Is it possible to mount this file by user (not root) without editing fstab and from terminal?
P.S. Using /dev/loopN is not what I need. Maybe, it's possible to use FUSE, is it?
View 1 Replies
View Related
Apr 29, 2010
I just ugraded from karmic, and it all went without a hitch. Except now when i boot i get... Error while mounting /etc/fstab press s to skip or m for manual recovery.
Pressing s works and i have a working machine, but i would like to fix this. Not tried the manual recovery yet as i have no idea about fstab and don't want to break it.
View 9 Replies
View Related
Mar 21, 2010
I have a command line that mounts the disk of my mobile
Code:
It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.
Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.
View 7 Replies
View Related
May 20, 2010
I have this configuration on my Ubuntu server:
1. Physical HDD1, mounted in /media/MYDATA
2. Physical HDD2, mounted in /media/MYDATA/MYMOVIES
This works, and has all my information. Unfortunately I can not use CIFS to get my data, because of a bug with wireless connection and umounting at shutdown. Until yesterday, I have no problem at all, mounting my NFS unit automatically in /media/MYDATA perfectly. But, when I go to /media/MYDATA/MYMOVIES in my laptops, filesystem is empty. I've included /media/MYMOVIES in the exports file (server) and in the fstab (client) and...it worked!!
But...system does not shutdown at all. If I manually try to umount /media/MYDATA the message received is "resource busy". :/ so...I guess this is the problem. If I manually umount /media/MYDATA/MYMOVIES first, laptop shutdown perfectly.
View 1 Replies
View Related
Jun 8, 2010
I cannot mount my windows share automatically with fstab and have the files be R/W. They are only mounted as read-only.I have tried several dozen commands in the fstab file with many mount points and different users. The share is on a Windows 2000 server, but NOT a domain controller.Thing is, using the Places|Connect To Server|Windows Server menu selection, it works fine. And when I use that, the share shows up on the desktop. However, in some programs I cannot see the share in the open/close dialog boxes. I can however go to /mnt/server to see them if I mount them in fstab. The files just open as "read only" that way however.Have tried... on last line of fstab mount command.....rw option, +777 option, using IP address of server, using server name.
Same result (as fstab) if I do a manual mount command, then a mount -a. Mounts Ok, just as "Read only".
ex: sudo mount -t smbfs //192.168.1.xxx/sharename /media/server -o username=xxxxxx,password=xxxxxxxxThis has been the case with Ubuntu 8.04 until my current one, 9.10. Ubuntu (if you are listening) really needs to make this easier. It truly is basic network stuff that for some reason is rather difficult to do. Read only access is not actual network access and my other option (having to manually connect via the drop-down menu) each time I boot up is a pain.What is different about that "connect to server" option on the menu that makes it work? It'd be great if there was a check box there that said "remember this connection". Then all would work fine.
View 3 Replies
View Related
Aug 12, 2010
Hopefully this'll be an easy one (but I wasn't able to find any other posts with the exact same problem).I'm connecting to a large hard drive at work. I can mount perfectly fine. The following is the relevant line in my fstab file:
//XXX.XXX.XXX.XXX/data /mnt/labdata cifs users,rw,exec,suid,dev,username=XXX,password=XXX,_ netdev,fmask=777,dmask=777 0 0
The problem is that when I try to cd to the correct directory, I get a permission denied error. I don't own the mount point, and there aren't general read/write permissions set. But if I change to superuser, I can access it no problem. I can read, write, make directories, etc. So the problem is with my computer--not the remote one.
Now, if I add the option uid=MYID, I can read and write just fine. The system makes me the owner of the directory on mounting. But that's not what I want--I'm trying to allow multiple users access to this file system. I want there to either be a neutral owner (e.g. root) with others having read/write access, or I want the owner of the mount point to be the user currently logged in.
View 5 Replies
View Related
Jan 27, 2010
mounting my windows partition.. I've got it set up under /etc/fstab, but anytime I try and open it (as local user) I get permission denied.
[Code]...
View 1 Replies
View Related
Apr 30, 2010
I have the following line in my fstab:
Code:
//192.168.0.242/websites /mnt/supercube cifs rw,user=XXX,pass=XXX,iocharset=utf8,file_mode=0777,file_mode=0777,dir_mode=0777,uid=XXX 0 0
But it doesn't auto mount with everything and disconnects whenever I suspend my computer. The only way to get it to mount is with
Code: sudo mount -a and it mounts fine with no error.
Did lucid change the way it uses fstab or something? Obviously writing mount -a isn't a huge concern, but it kind of destroys the point of putting it in my fstab.
View 9 Replies
View Related
Jun 14, 2010
Using Xubuntu 10.04 to connect to some Windows XP shares by adding lines to fstab. The network shares are not mounted at boot, but can be mounted from the command line, after the OS has booted and everything is up. I am suspecting the network isn't up yet, when fstab is processed. I tried adding the option "_netdev" to the relevant network share lines in fstab, but the shares still don't mount automatically at boot up. I read that this option only works for NFS and I am using CIFS. Can someone confirm that _netdev only works for NFS ?
I've seen solutions involving running a mount script after the OS is fully loaded, or running a cron job to periodically check the status of the share and mount if needed. Good workaround but doesn't address the root cause. Is there any other way (besides the _netdev option) to delay mounting of network shares that appear in fstab until the network interface is up ?
View 14 Replies
View Related
Dec 2, 2009
I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile.
[Code]....
Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system. Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect" Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice. What is baffling is I can successfully mount //server/share via command line: Code: mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234
The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.
View 2 Replies
View Related
Jul 24, 2009
Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?
View 1 Replies
View Related
Jul 4, 2010
I've got a removeable disk which I want to mount on startup automatically at mountpoint "/backupsystem". If' it's not there I would like to have no error message. Actually after upgrading to 10.4 I get the message: Continue to wait; or press S to skip mounting or M for manual recovery.". But I don't wand this if the disk is not there that's OK for me. How would I configure fstab to achieve this?
View 2 Replies
View Related
Oct 5, 2009
I recently installed CentOS 5.3 (from DVD media) on a Seagate 320GB external USB drive; this drive is connected to an Intel-based desktop computer (Intel D945GNT motherboard) with two internal SATA drives (both NTFS, as I'm running Windows XP SP3 as my primary OS). The install found the USB drive fine, and I manually configured my partitions; I had the install place the boot loader in the first sector of the boot partition of the external USB drive. I had set my BIOS to boot from the USB drive first; after a reboot, nothing happened...no GRUB menu, nada.
After some research, I had found an article discussing the need to rebuild the initrd for USB drive support. So, I booted the computer from the CentOS DVD, then went into 'linux rescue' mode; once I was at a command prompt, I navigated to the /boot directory and executed the following command:
mkinitrd --with-usb --preload=ehci-hcd --preload=usb-storage --preload=scsi_mod --preload=sd_mod ./usbinitrd-2.6.18-128.el5 2.6.18-128.el5
After the new "usbinitrd" was created, I edited grub.conf to reflect the new image, then attempted the reboot again from the USB drive. Still no GRUB menu.
View 2 Replies
View Related
May 23, 2010
I installed CentOS via unetbootin and USB stick. Unfortunately, I can not now start my system w/o my USB usb drive.
View 1 Replies
View Related
Sep 30, 2009
I installed the latest download of centos 5 on to a older dell optiplex gx260. install went fine. I then hooked up an external 1tb USB drive, formatted it ext3 from inside the LVM, and mounted it to /usb-mnt. the mount command is in /etc/fstab like normal: /dev/1tb-usb/1tb-usb /usb-mnt ext3 defaults 1 2
all of the steps taken were straight out of the gui now on boot up I get: checking filesystems fsck.ext3" No such file or directory while trying to open /dev/1tb-usb/1tb-usb [FAILED]
*** an error occurred during the file system check
*** Droping you to a shell; the system will reboot
*** when you leave the shell.
give root password for maintenance
(or type control-D to continue):
and yeah all the /dev entries are gone. I have rebooted in linux rescue mode from the install cd, commented out fstab and been able to boot. but that doesn't actually get me to having this disk available. how to I get the system to see the drive again? if I add it back to fstab is just goes into the above. I don't seem to be able to get LVM to see the disk anymore to reformat it, I can't get the system to allow me to access it so I seem stuck.
so how do you get the system to reprobe and add a drive that once existed? uname -a output: Linux guff.domain.edu 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux
View 6 Replies
View Related