General :: Mdadm Volume Works - But Won't Assemble/mount On Startup

Nov 18, 2010

I have an mdadm/lvm2 volume with 4 HDs that I created in Ubuntu 10.04. I just upgraded the computer to Ubuntu 10.10.

I redid the mdadm commands to get volume up and running, did mdadm --detail --scan > /etc/mdadm/mdadm.conf to get the configuration file.

But now, every time I reboot, it tells me that the volume is not ready. /proc/mdstat says that I always have one disk of the volume "inactive" as md_d127. I need to stop this volume and reassemble the whole thing to get it working.

This is what I get out of mdadm --detail --scan and put inside /etc/mdadm/mdadm.conf:

And this is my /proc/mdstat on boot:

I need to do mdadm -S /dev/md_d127, mdadm -S /dev/md127, mdadm -A --scan to get this volume working again.

This did not happen with Ubuntu 10.04. I'm really fearing the loss of my raid5 data now.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Get Mdadm To Assemble All Drives?

Aug 6, 2010

I'm trying to get mdadm to assemble all my drives with help of uuid.

When I use

$ sudo mdadm --assemble /dev/md0 /dev/sdb /dev/sdc /dev/sdd
mdadm: /dev/md0 has been started with 3 drives.
So the setup works. But I want to do it the proper way with UUID.
$ sudo blkid

[Code]...

View 1 Replies View Related

Server :: Can't Assemble RAID5 With Mdadm

Jun 14, 2011

I cant seem to get my RAID 5 (consisting of 8 1tb hard drives) assembled for some reason and I have no idea why and cant find any solutions online. Ill go ahead and show what my problem is:

here is all my hard drives:

Code:
server:~$ sudo fdisk -l
Disk /dev/sda: 10.2 GB, 10242892800 bytes
255 heads, 63 sectors/track, 1245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004f041

[Code]....

So as you can see the array for those last four look fine however for the first four it marks the last four drives as faulty for some reason. I am kind of clueless to do from this point on honestly, I have data on this array that I'd really like to save.

View 3 Replies View Related

Ubuntu :: MDADM - Unable To Assemble Array

May 21, 2011

trying to troubleshoot an issue i'm having with MDADM I have a raid 5 array consisting of 5 2tb Western Digital Green drives. It has been working fine for the last 6-7 months but recently has stopped working. After rebooting i get an error something like "unable to mount /mnt/storage" which is the filesystem on the raid array the raid array is /dev/md0 when i do a " sudo mdadm --assemble --scan" i get the error mdadm: /dev/md0 assembled from 3 drives - not enough to start the array all the drives are there and i can see the correct partition information if i load them up in parted.

View 1 Replies View Related

Software :: MDADM Unable To Assemble Array

May 21, 2011

trying to troubleshoot an issue i'm having with MDADM.I have a raid 5 array consisting of 5 2tb Western Digital Green drives.It has been working fine for the last 6-7 months but recently has stopped working.After rebooting i get an error something like "unable to mount /mnt/storage" which is the filesystem on the raid array the raid array is /dev/md0.when i do a " sudo mdadm --assemble --scan" i get the error mdadm: /dev/md0 assembled from 3 drives - not enough to start the array.all the drives are there and i can see the correct partition information if i load them up in parted.i didnt get an emails or notification on if the drives failed, so i'm running a smart check on them now

View 1 Replies View Related

Fedora Hardware :: Software RAID1 /boot Volume Doesn't Mount Automatically At System Startup

Feb 7, 2010

My software RAID setup is as follows.

/dev/md0 (made from sda1 and sdb1) RAID1 /boot partition
/dev/md1 (made from sda2, sdb2, and sdc2) RAID5 / partition

Earlier on I had some trouble with my sda drive, it dropped itself from both arrays, screwing up the mirroring of my two raid partitions participating in the /boot partition. I eventually got everything sorted out and back in sync. (I also have grub installed to MBR on both sda and sdb). Things are working fine regarding that, but since then I've had this issue:

During boot up, I'll get an error message that it could not mount my /boot partition (when fstab is set to either /dev/md0 or the UUID). It claims c9ab814c-47ea-492d-a3be-1eaa88d53477 does not exist!

My fstab:

Code:

[mark@mark-box ~]$ cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Wed Jan 20 16:34:41 2010

[code]....

As far as I know, it isn't neccessary for /boot to be mounted always, correct? Although, as I understand, I need to have it mounted whenever making kernel changes correct?

View 2 Replies View Related

General :: Mount External USB Drive In Debian To A Mount Point Based On The Volume Name

May 5, 2011

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.

This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).

View 2 Replies View Related

General :: Invalid Mount Option When Attempting To Mount The Volume

Jun 30, 2010

I have two internal hard drives.I just installed Debian Lenny in the smaller 80GB. But when I try to access the other hard drive it shows:

"Invalid mount option when attempting to mount the volume"

info:

-The 80GB is on dual boot with Windows 7 and Debian Lenny.

-The 500GB secondary hard drive is NTFS filesystem.

View 1 Replies View Related

General :: "Invalid Mount Option When Attempting To Mount The Volume" On Plugging USB

Jan 18, 2010

I plugged in USB(single fat32 partiton of 2GB) and got message window Cannot mount volume. Invalid mount option when attempting to mount the volume.

[Code]...

Also did check in gparted , dosfsck and fsck.vfat but no errors reported.

View 5 Replies View Related

General :: How To Mount LVM Volume

Mar 5, 2010

I'm trying to mount an LVM2 volume, but all the instructions I see online say to mount the Volume Group, such as 'mkdir -p /mnt/VolGroup00/LogVol00'but I don't know how to figure out the name of it. I see the drive in Palimpsest, and that's all the info I know.

View 2 Replies View Related

General :: Cannot Mount Volume / What To Fix It?

Mar 23, 2010

I have three partitions in my disk (Ubuntu, Debian, and Home).

When booting from Ubuntu I can perfectly get access to Debian partition and home partition. But when I try to access Ubuntu or home partition from Debian I receive this message: "Cannot mount volume. You are not privileged to mount this volume."

View 3 Replies View Related

Slackware :: Sudo: Umount Works, Mount Not Works?

Jul 8, 2010

I've got a problem in doing sudo working for mounting things (e.g. usb pen or optic discs). Details:The OS: Slackware 13.0The response to sudo -l command:

Code:
User user1 may run the following commands on this host:
root) /sbin/shutdown -h now, /sbin/shutdown -r now

[code]...

View 3 Replies View Related

General :: Mount Part Of A Dd Image As A Truecrypt Volume

Jul 16, 2011

I have a dd image of a full drive (as a file) that was using Truecrypt system encryption under windows. I want to mount the main partition from that image using Linux's Truecrypt. I am familiar with dd loopback devices and have the partition offset, but I don't know how I can mount it like this because I need to use the truecrypt command.

Is there perhaps some way to create a fake device file for the disk image that I can mount from within Truecrypt?

View 1 Replies View Related

General :: Mount.nfs Fails In Ubuntu / Works On Red Hat?

Aug 13, 2010

I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup.

* open a shell session to NFS server and execute the "id" command to get my samba user information.

Code:

$> ssh l alberto our_nfs_server
$> id
uid=7090(alberto) gid=100(users) groups=100(users)

* Create locally a login on my Linux workstation with the same login and uid.

Code:

$>sudo useradd u 7090 g 100 d /home/alberto s /bin/bash alberto

[code].....

Code:

mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) mount.nfs: access denied by server while mounting our_nfs_server:/d0/homedirs/alberto It does not work at all!!?? However, the same procedure on a RedHat workstation works fine. No errors.

View 2 Replies View Related

General :: Fedora 14 Install - Failed To Mount 524M Volume

Nov 19, 2010

I installed Fedora 14 from a Live CD and while manually partitioning the HD I got this message as the formatting started:

Failed to mount "524M Volume"
The enclosing drive for the volume is locked.

Fedora was install and everything seems to be working so far. I Couldn't find any info about this error online.

View 5 Replies View Related

General :: Can't Mount Volume And Won't Recognize Seagate Expansion Drive

Oct 21, 2010

it says cant mount volume and wont recognize my seagate expansion drive after I had the seagate plugged in to a windows pc! It says something about using command line to fix it but I'm new to Linux and don't know what to do!

View 1 Replies View Related

Software :: Mount Error: Can't Mount An Encrypted Volume With An Overlaying Ext3 FS

Jun 6, 2010

I created a encrypted volume on top of software raid1. These are my steps:

1. Create logical partition on sda

2. Create logical partition on sdb (same size)

3. Change type to partition to 'fd' for both partitions

4. Check that the both partitions are same size and type
fdisk -l /dev/sda && fdisk -l /dev/sdb

5. partprobe

6. Make sure there are no remains from previous RAID installations on /dev/sdb by running:
mdadm --zero-superblock /dev/sda6
mdadm --zero-superblock /dev/sdb6

7. mdadm --create /dev/md4 --level=1 --raid-disks=2 /dev/sda6 /dev/sdb6

8. watch cat /proc/mdstat

9. update mdadm.conf
mdadm --examine --scan | grep mdx >> /etc/mdadm.conf

10. Load twofish module
[root@localhost ~]# modprobe twofish

11. # cryptsetup -y -c twofish-cbc-essiv:sha256 create ftdata /dev/md4
Enter passphrase:
Verify passphrase:

12. mkfs.ext3 -b 4096 -R stride=8 /dev/mapper/ftdata

13. mkdir /ftdata

14. Mount the encrypted volume: mount -O noatime /dev/mapper/ftdata /ftdata

It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir

Now, I unmount the volume
cd ~

Code:
umount /ftdata
cryptsetup remove ftdata

And now, if I try to setup my encrypted volume like this:

Code:
[root@localhost ~]# cryptsetup create ftdata /dev/md4
Enter passphrase:
mount -O noatime /dev/mapper/ftdata /ftdata
I get this error:
mount: you must specify the filesystem type

[Code].....

View 1 Replies View Related

CentOS 5 :: Mount Error: Can't Mount An Encrypted Volume With An Overlaying Ext3 FS

Jun 6, 2010

I created a encrypted volume on top of software raid1. These are my steps:

1. Create logical partition on sda

2. Create logical partition on sdb (same size)

3. Change type to partition to 'fd' for both partitions

4. Check that the both partitions are same size and type fdisk -l /dev/sda && fdisk -l /dev/sdb

5. partprobe

6. Make sure there are no remains from previous RAID installations on /dev/sdb by running: mdadm --zero-superblock /dev/sda6 mdadm --zero-superblock /dev/sdb6

7. mdadm --create /dev/md4 --level=1 --raid-disks=2 /dev/sda6 /dev/sdb6

8. watch cat /proc/mdstat

9. update mdadm.conf mdadm --examine --scan | grep mdx >> /etc/mdadm.conf

10. Load twofish module [root@localhost ~]# modprobe twofish

11. # cryptsetup -y -c twofish-cbc-essiv:sha256 create ftdata /dev/md4 Enter passphrase: Verify passphrase:

12. mkfs.ext3 -b 4096 -R stride=8 /dev/mapper/ftdata

13. mkdir /ftdata

14. Mount the encrypted volume:
mount -O noatime /dev/mapper/ftdata /ftdata

It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir

[Code]....

So why is it that I can't mount my encrypted volume after the first time? I am giving the correct password when it asks to.

View 3 Replies View Related

General :: Mount A Partition At The Time Of Startup?

Jan 18, 2010

i want to boot one of my partition mounted at start-up !! i don't want to do such thinks with typing password and all

there is no option called remember authentication in helena! but it is there in gloria (is it my problem or helena's?)

View 1 Replies View Related

General :: Mount All The Drives At The Startup In Any Distros?

Jun 18, 2010

How can i mount all the drives at the startup in any linux distros ?

View 1 Replies View Related

Debian :: Mount Sshfs At Startup - Get Mount For UserA To Happen On Boot

Mar 18, 2011

I am struggling with getting an sshfs mount mounted on system boot. I have a script that mounts the sshfs for "userA". When userA runs the script all is well - user A can access the remote filesystem, root user can't see it as expected. The basic command is: sshfs userA@remote host:/home/userA /home/userA/mountdir -p 21212 -o password_stdin < passwordfile. I can prepend the sshfs command in the script with su - userA -c and when I run this script logged in as root all is well, userA has access and all is well. If I then put this script in /etc/init.d and reference it properly in the rc. directories the mount doesn't happen. If I prepend the sshfs command with sudo, same thing. Logged in as root I can run the script and UserA has access. Run the script in /etc/init.d during startup and the mount doesn't happen. Echoing text to a log file shows that the script is being executed but no mount happens.

View 4 Replies View Related

General :: Finding Mount Point Path For Windows CIFS Volume Visible In Ubuntu File Browser

Jan 8, 2010

using Ubuntu file browser, I browsed my Windows network and logged on to a Windows PC. Now Ubuntu file browser shows me "C$ on WinPC" as a folder. I can open it, read/write files, etc.But from bash prompt, I don't see anything of type CIFS/SMBFS listed in the output of "mount". Only the usual suspects (like local CDROM). How can refer to Windows files from Linux commandline?

View 6 Replies View Related

Ubuntu :: Sound Works But Cannot Change Volume

Apr 26, 2010

I have sound but my volume controls dont work on my asus laptop. If i goto system - pref - sounds it says its loading it and then it closes. Pulse audio says it cant connect. Ive also lost the volume control icon in the top right for some reason as well? The only thing ive done recent is install mp3 codecs. Now i half to manually reload the drivers for my volume to work after bootup.

View 2 Replies View Related

Ubuntu :: Can't Load A Drive / Volume - "Unable To Mount Location Error Mounting: Mount: /dev/sda1: Can't Read Superblock"

Dec 25, 2010

I have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?

View 9 Replies View Related

Ubuntu :: Setting Volume On Startup?

Sep 25, 2010

I have an issue with my machine. The volume is 100% on startup, and I need that fixed. I looked around and found THIS on stackoverflow. However I cannot find the rc-default file I need to edit to make that solution work. I'm running Karmic. Anyone else find a solution to this problem?

View 9 Replies View Related

Slackware :: Asoundrc Works For HDMI/analog But Boosting Volume?

Jun 18, 2011

I've currently pieced together a asoundrc that gives me audio via HDMI and analog so I am able to get sound both on my externally connected monitor via HDMI and my notebook's speakers. Problem is, the analog output through the notebook's speakers/headphone jack is much much lower than it can be. In Windows 7 the volume is higher at the same level.

[Code]...

View 3 Replies View Related

Ubuntu :: Script To Set Volume Levels On Startup?

Jan 5, 2010

I am using UNR 9.04 with Alsa 1.0.22.1 For some reason everytime I reboot my volume levels reset to headphone & speaker muted and headphone/speaker/PCM levels all set to 0%.

Does anyone know if there something I can that will allow my levels to be the same after I reboot? or if there is a script out there that will set my levels on startup?

If there isn't a script what would I do to create my own? also what would I do to have it auto run at startup?

View 3 Replies View Related

Ubuntu :: Set The Mixer Volume Level At System Startup Or Login?

Jun 9, 2011

How-To set the mixer volume level at system startup or login. A funny story that led up to this how-to first...

I made the obvious mistake of leaving my volume level set to nearly maximum. Of course, Ubuntu's default behavior is to restore the mixer to its last known state - a point of much irritation at that moment. This had been a problem in the past as well, and today was the last straw. So, I did some research, for quite some time I might add, and decided to be a good community member and share my findings. It seems that there are all sorts of opinions around the web. The dominant opinion is that a mixer should always be restored to its last known state, that this is all well and good, and why would you ever want it to work any other way. Lots of people suggested that the startup sound be disabled, which was not a terrible solution, but was still a work-around as it means that the next sound bite to be played is the alarming one.

Needless to say, I wanted to find out what I would call the "proper" way to set the mixer level at startup. As my laptop uses PulseAudio, and my office desktop uses ALSA audio, the methods were different. My focus was for PulseAudio as that was the original purpose. I note here that my method for ALSA is less detailed as it is not the default for Ubuntu audio these days. So, if you are using ALSA, you might have to be a little creative to make my ALSA note fit your needs. I have attached 2 files to this post, one for ALSA and one for PulseAudio.

View 4 Replies View Related

Slackware :: USB Headset - Volume Control On Them Stopped Working - Sound Works - Microphone Doesn't

Oct 29, 2010

When I started using Slackware I've been using USB headset. Everything ran perfectly fine. They got recognized, I could use all of it's functions and so on. Unfortunately volume control on them stopped working so I had to service them, and like in every third world country, yay I need to wait minimum three weeks just so they can press a button and say "Yup, they don't work".

I bought normal headset to use them while other one is getting fixed, and didn't expect any problems with them considering they are "old" technology, normal audio input and output.

Now problem is following, sound works fine but microphone doesn't. Once I managed to "fix" it by switching audio input from mic to something else and then back to mic, now even that doesn't work. Another... "problem" is if I leave my USB webcam plugged in while booting computer, there is no sound at all, ether on line ones or USB ones but I can easily solve that problem by unplugging webcam, rebooting and plugging it back in later.

Now everything ran fine until my computer shutdown while I was sleeping. Don't know why, but it started happening recently, don't see anything smart in logs so I assume its... something, read it could be cache, HDD, temperature and so on but since logs don't write down anything smart... will deal with it some other time.

When I talk I can actually hear myself on the headset, which probably means that they work. If I put mic boost all the way up, I can hear myself perfectly clear, but somehow... seems that that information just doesn't get to Slackware, well it gets somewhat considering that it reacts to me adjusting mic boost on KMix, but everything else... no.

Arecord doesn't record anything, TS register as microphone isn't plugged in at all, skype doesn't get any input ether.

Code:

View 1 Replies View Related

Ubuntu Multimedia :: ALSA Mixer Resets Volume Levels At Startup

Dec 13, 2010

ALSA mixer resets my speaker volume to zero and changes my USB headset volume to a very low level. How can I get ALSA Mixer to remember my volume settings from last boot or if there's no other option, a way I can make it adjust the levels to a predetermined level automatically on startup. I'm using 10.10 with pulseaudio.

View 3 Replies View Related







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