General :: Filesystems - Changing Device Names In /dev

Apr 25, 2011

I have many disks and volumes in my system. Some of disks IDE, some SATA.

Volumes on SATA disks cause me problems - I have them listed in etc/fstab, but on every boot, they have different name:

/dev/sdd* becomes /dev/sdb*
/dev/sde* becomes /dev/sdc*

etc. on every boot.

1) Why is this happening?

2) How can I prevent it?

3) If I can't, is there a workaround?

View 2 Replies


ADVERTISEMENT

General :: List Only The Device Names Of All Available Network Interfaces?

Oct 25, 2010

I want to get a list of all available Network-Device Names on my Linux server. I figured that

netstat -a

would do the job, however netstat produces quite much output:

eth0 Link encap:Ethernet Hardware Adresse 08:00:27:fc:5c:98
inet Adresse:192.168.2.222 Bcast:192.168.2.255 Maske:255.255.255.0
inet6-Adresse: fe80::a00:27ff:fefc:5c98/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1

[Code]....

I assume that this can be done by a combination of "cat", "sed" and "grep", but I have simply no clue of how to strip the uneccessary information.

View 4 Replies View Related

Fedora :: Changing Host Names On Fc15?

Jun 22, 2011

I'm building a replacement service, and in the not to distant future, I'll need to change the host name and IPs (ipv4) (I'll also be doing this on the fedora 10 box I'm replacing)

I can look around and edit a bunch of files to make it happen, but there has to be an easier way.

View 3 Replies View Related

General :: Permanently Changing Permission Of FireWire Device?

Jan 22, 2011

I just setup a FireWire audio interface. Everything works fine, except for I need rw-rw-rw- permissions on /dev/fw0. I can always sudo chmod 666 /dev/fw0 just before setting the thing up, but then it will be gone on the next rebooting.The solution to modify /etc/udev/rules.d/020-permissions.rules (which is for Ubuntu Breezy) doesn't go well for Ubuntu 10.10 Maverick because there is no /etc/udev/rules.d directory.

View 1 Replies View Related

General :: Changing Default Audio Device In Pulseaudio?

Jun 5, 2011

I would like to use HDMI on my graphic card for audio output. ALSA shows it as a card with 4 devices and I can get sound through one of them (the other three are different channels, perhaps? I have only stereo output connected). Although Pulseaudio has the right card set as default, it seems to me that it plays on a wrong device. Pacmd shows that the sink has parameter alsa.device set to the first device listed by ALSA, but I can get sound only from the second one.How can I force Pulseaudio to use another device of the same card as a default output?

View 2 Replies View Related

Ubuntu :: Raid5 And Static Device Names?

May 17, 2011

I am setting up a Raid5 and torture testing it. I added two eSata ports to my machine. When a drive is installed in that eSata port and the machine then booted up the device name (e.g. /dev/sdc) is inserted in the middle of my Raid devices. And that is just one example of how the device names can change.I did a search on 'static device names' but I saw nothing directly related to Raid. What I did see were suggestions to create udev rules based on UUID. But that was for single disks, not Raid, where each drive/partition in the raid array appears to have the same UUID.I'm surprised this does not come up in the various Raid howtos because it is impossible to keep a Raid array intact without solving this problem unless the machine is never touched thereafter.

View 1 Replies View Related

Ubuntu :: 10.10 Mdadm RAID - Moving Device Names ?

Mar 25, 2011

I'm having trouble with Ubuntu 10.10 and stable device names. When I installed Ubuntu, the root drive was the only one in the machine; it obviously got /dev/sda.

After the base installation, I installed three additional 2TB drives to make RAID-5 array. Ubuntu renamed the root drive to /dev/sdd. While annoying I lived with it.

After creating a single partition set to "Linux raid autodetect" on each drive, I created the RAID-5 array:

Code:

All was going well until a reboot. When rebooting Ubuntu decided to make the root drive /dev/sda this time and now mdadm --detail /dev/md0 reports:

Code:

How to fix the array and make the device names stable?

View 1 Replies View Related

Hardware :: Block Device Names Change After Reboot

Jan 19, 2011

I built a Raid5 volume with 3 SATA II hard disk drives. Further I have a system disk conected through IDE. During the first setup the IDE disk becomes sda, the SATA II disk sd[bcd] respectively. Now, sometimes the device names change after reboot - why ever... E.g. one of the raid5 disk become sda and so I got an error message during the boot procedure regarding the raid set. Curious, when the system is up and I stop and restart the Raid5 volume it comes up and runs fine. Because I'm currently at work I can't post any more detailed config files at the moment.

View 2 Replies View Related

Networking :: Can Eth Device Names Be Correlated To Physical Port?

Dec 1, 2009

I am building a custom RedHat+<our-software> installer iso for our own appliance. I am using Red Hat 5.4. The appliances has two on-board eth interfaces. On the back panel of the appliance, these ports are marked 1 and 2. When I install RH, I find the device names assigned such as eth0/eth1 are arbitrary. I understand this is to be expected with kernels 2.6+. Most of our customers connect their eth cables to the port marked 1 on the back and assume they should configure eth0 to make the device reachable. However, sometimes port 1 gets assigned "eth1". This is not a blocking issue, but its going to confuse our customers and we wanted to make it easier on them.

From reading online discussion boards, I know HOW to switch the assignment of the eth names. However, what I am do not know is whether I need to switch them at all. So I have two questions
1) Is there anyway for me to tell which eth mac corresponds to which port on the back? Since they are soldered on the motherboard and not movable, I would think there would be some way to figure out that x mac address corresponds to the upper port (marked '1' etc).
2) Is there a way to tell this by running a linux command? We need to do this automatically so I need to be able to figure it out at install time from the kickstart post-install or similar.

View 1 Replies View Related

CentOS 5 :: Persistent Device Names For ISCSI Disks?

Nov 15, 2010

I have a server wich is connected to an iSCSI storage and gets harddisks from this storage. Sometimes I have to add new disks to this server. Everytime I add a disk and make an /etc/init.d/iscsi restart on the server the disks don't have the same device name as before the iscsi restart.

It should be possible to gave the disks persistent names using udev rules. Now I tried to create different rules in "/etc/udev/rules.d/99-static-iscsi-names.rules" e.g.

# /dev/sdc
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -s %p",RESULT=="360a98000503355344c4a576864467877" NAME=="sdc%n"
In "/etc/rc.local" I added "/sbin/start_udev" and in "/etc/scsi_id.config" I added the line "vendor="NETAPP",model="LUN",options=-g"

[Code]...

View 3 Replies View Related

Ubuntu Installation :: Maverick Has Its Own Ideas About Drive Device Names?

Dec 15, 2010

I'm trying to install Xubuntu 10.10 onto a machine with 3 hard drives. My drives are (rather, should be) like this:

/dev/sdaX: Windows and Windows apps/games
/dev/sdbX: Data
/dev/sdcX: Blank drive for Linux.

[code]....

View 1 Replies View Related

Ubuntu :: Staticly Assign Device Names (/dev/sda, Etc.) To Specific Hard Drives?

Feb 20, 2011

This is one of those questions where I highly suspect that the answer will be something like ". . .just stinks bein' you, kid."My setup:I have Ubuntu 10.04 x64 (desktop) installed on a computer with a bunch of SATA ports, including one e-SATA on the backBecause of the way the hardware works with these ports, the *external* port is the first SATA port, a second SATA port inside becomes #2, and a cluster of four ports (that can be made into a (ahem!) RAID array become ports 3 through 6.

All ports are configured as SATA (PATA emulation)My boot drive is located on SATA-2 (the inside connector), a four disk "MD" raid array is located on SATA 3-6, and I have an external HD enclosure that I plug into the e-SATA connection.

With all six drives plugged in, they get ordered like this:
/dev/sda - External drive
/dev/sdb - Internal operating system drive (bootable)

[code]....

View 3 Replies View Related

Ubuntu :: Changing A Device's Startup?

May 20, 2010

i mistakenly told ubuntu to start up rhythmbox each time i plugged in my iphone.how do i change the option now that it's set

View 1 Replies View Related

Ubuntu :: Changing Default Sound Device

May 5, 2011

I have headphones connected via usb and every time I restart computer or disconnect them, my sound output is switched to laptop speakers. Is there a way to make so that every time the headphones are detected, they would be used automatically?

View 1 Replies View Related

General :: Filesystems On Dev Directory?

Dec 25, 2010

I want to know what file system there are for "/dev" directory??apparently different types was developed for managing devices on Linux.because I am a little confused about all file system on this directory.Another question is,which is file system sufficient for managing devices on Embedded Linux ?of course on our embedded system we do not have many pluggable device,so this directory can be static

View 2 Replies View Related

Red Hat :: Mapping /proc/scsi/scsi Entries With Respective Device Names In /dev/ Directory

Apr 11, 2011

In my understanding, the way /proc/scsi/scsi gets populated, /proc/paritions also gets populated in the same fashion. i.e. the description for first entry of /proc/scsi/scsi can be seen in the first entry of /proc/partitions and same for rest.

So, With this assumption, in my project, I used to relate first entry of /proc/scsi/scsi with first entry of /proc/partitions to get its total size and same for all entries.

But, I observed some differences in following scenario, where

1) The first 4 entries in /proc/scsi/scsi are SAN luns attached to my system and for which the actual device names in /dev/ are sda,sdb,sdc and sdd.

2) The last 4 entries are the internal HDDs on same system. In /dev/, their respective device names are sde,sdf,sdg & sdh.

(Output attached at end of the thread)

But in /proc/partitions, the device order is different.

You can see their respective sizes in /proc/partition output as well.

So, my question is, in this particular scenario, I can't relate the first entry of /proc/scsi/scsi with first entry of /proc/partition. i.e. scsi0:00:00:00 is not /dev/sde, because it is actually /dev/sda.

It seems that my assumption is wrong in this scenario.

Is there any way or mechanism to figure out actual device name for an entry in /proc/scsi/scsi in /dev/ directory?

How can my application should relate /proc/scsi/scsi entries with their respective device names and sizes?

View 2 Replies View Related

Ubuntu :: Changing Brightness / Plugging In USB Device - No Notification

Jun 18, 2010

Changing the brightness and keyboard brightness does not give a notification, though the brightness changes. In addition, ejecting a cd, plugging in a usb device, and seeking/playing music gives no notification (though Rhythmbox tells me what track I've skipped to/played). Again, the cd does eject, the usb device can be accessed, etc. I'm not sure if this last one is a problem, but every notification except for the volume one appears about 80 pixels down from the top panel. This 80 pixels below the panel is only ever occupied by the volume notification. Ubuntu 10.04, gnome-power-manager 2.30.0 ubuntu1, notify-osd 0.9.29-0ubuntu2. I'm using a Dell Studio 1555 notebook.

View 3 Replies View Related

Ubuntu :: Mount A Disk To A Dir Without Pointing To Its Changing Device Name?

Jan 14, 2009

Sometimes when I restart, my NTFS drives will mount in incorrect directories. It seems to only happen when I plug in USB devices such as flash drives, and keep them in when I boot. I have the fstab file configured correctly, but it still resorts to some odd default mounting points. Edit suposedly the device name changes whenever I boot with a flash drive plugged in. Is there anyway to mount a disk to a dir without pointing to its changing device name.

View 3 Replies View Related

Software :: Tape Changer Device File Changing?

Jul 8, 2010

In my RHEL 5.4 system after each reboot the device file of tape changer (IBM-3310 Tape library) is changing.So i am not able to give a fixed device file in backup software.

View 17 Replies View Related

General :: Restore A Backup On Different Filesystems?

Sep 30, 2010

I'm now using Ubuntu 10.04 with ext4 and for the second time in my life I experienced data loss (not for real: I got backups) and I'm assuming problems with the recent ext4 fs.

I want to restore all of my configurations (/etc and the like), data and home on reiserFS: is this possible? What to do in order to accomplish that?

View 2 Replies View Related

General :: Finding Alternative Filesystems For SSD?

Feb 14, 2011

I am tired of watching fsck check my filesystem when my eeepc 901 shuts down abruptly due to a crash. I know that with a journaling filesystem, I won't have to wait for a check. However, I am well aware of the poor I/O performance of the SSD, so I can imagine using a journaling filesystem being even more frustrating, since there will be constant writes to the journal? I will buy a new laptop without such a crummy ssd someday but, is there anything I can do now, on the software side of things?

View 3 Replies View Related

General :: Rsync 8 Different Filesystems Into One New Filesystem?

Dec 27, 2010

I need to combine 6 different filesystems into one filesystem using rsync. I am so confused as to which parameters I need to use. The 6 fileystems are:

/mnt/tkpkgc1a/vol/mn_pkg_08_02/
/mnt/tkpkgc1a/vol/mn_pkg_08_01/
/mnt/tkpkgc1a/vol/mn_pkg_06_09/

[code]....

View 1 Replies View Related

General :: Unmounted Filesystems Accidentally

Jul 5, 2011

I accidentally unmounted filesystems using umount -a command.How to recover from this.

View 4 Replies View Related

Ubuntu Multimedia :: Profile For Internal Audio Device Keeps Changing?

Jan 27, 2011

I can get sound out of my machine just fine, but for some reason, no matter what audio player I use, every time I change the song or pause playing half my speakers will kill sound and it will seem like the sound profile has reverted to Analog Surround 5.0 Output. When I check my sound configuration it still lists 5.1, and I have to select another setting then change it back to 5.1 to get my speakers all functioning again.

View 1 Replies View Related

Ubuntu :: Get The 'General Error Mounting Filesystems?

Aug 29, 2010

When I try to start up 9.10 I can get past GRUB but not fsck. A file check will be started but no progress will be made and finally I get the 'General error mounting filesystems'.Trying in recovery mode I get this just before the fsck check

Quote:
fsck from util-linux-ng 2.16
[8.016378] ACPI: I/O resource piix4_smbs [0xb00-0xb07] conflicts with ACPI region SOR 1 [0x0b00-0xb0f]
/dev/sda1 goes fine
Quote:
/dev/sda3 has been mounted 34 times without being checked, check forced
mountall: canceled

[Code]...

This seems to be slightly different than the other threads I've seen discussing this issue. It just all of a sudden happened, I didn't upgrade anything or have any crashes immediately prior.

View 2 Replies View Related

General :: Fsck And Manually Mounted Filesystems?

Nov 12, 2010

I want the filesystem of my external drive to be checked periodically after a numer of mounts. I put 2 in the sixth colums of fstab for this partition

Code:
/dev/sdb1/mnt/hdext3rw,dev,sync,user,noauto,exec,suid02
and I use the tune2fs to set the maximum mount count to 32.
Code:
tune2fs -c 32 /dev/sdb

now the mount count is 34 and the date of the last check is not recent, so apparently the auto fsck has not been performed. Probably because this partition is not mounted at start-up but I usually mount it manually.

View 3 Replies View Related

General :: List Filesystems That Are Using LVM Logical Volumes?

Jun 23, 2011

I've read the first 40% of the RHEL 5 Logical Volume Manager Administrator's Guide, but still have one outstanding, burning question.

During the installation of Centos 5.6, I set up LVM physical volumes, volume groups and logical volumes. I can list these using pvdisplay, vgdisplay and lvdisplay commands.

How would I list what filesystems I have that are using my logical volumes?

View 2 Replies View Related

General :: Installing Additional Filesystems In RHEL?

Jul 12, 2011

We are about to install some RHEL5 servers for DB and web and Application servers. I've been asked to test which file systems of the following work better for disk I/O.EXT3 EXT4 JFS BtrFS and any other ones that I can find that work under RHEL the out-of-box install I have done allows me to format my volumes with EXT2/3 but not ext4 or any others. Is it possible to "install" other filesystems for use, if so how?

View 4 Replies View Related

General :: Filesystems - Software RAID 1 Without Metadata On The Drives?

Mar 30, 2011

I know I can simply create a degraded raid array and copy the data to the other drive like this: mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb1

But I want the specific disk to keep the raw ext3 filesystem so I can still use it from FreeBSD. When using the command above the disk will be a raid disk and I can't do a mount /dev/sdb1 anymore. A little background info. The drives in question are used as backup drives for a couple of Linux and FreeBSD servers. I am using the Ext3 filesystem to make sure I can quickly recover the data since both FreeBSD and Linux can read from that without problems. If someone has a different solution for that (2 drives in raid 1 that are readable by FreeBSD and writeable by Linux),

View 1 Replies View Related

General :: Filesystems - File System For Removable Storage?

Apr 7, 2011

I have a 500GB external drive I want to use on a couple of Linux systems, and looking for a filesystem for it. External drives are frequently formatted in FAT32, but I don't need to interoperate with Windows and would rather avoid the ugly limited kludge that is FAT.

Since I only need to use it on Linux, I would use ext4 or XFS, but they store ownership information. Ideally, I'd use a proper Unix file system that doesn't track ownership (files are owned by whoever mounts the device, like they are when mounting a FAT32 partition), but I do not know of any file system that does that.What would be a good file system for this disk?

View 2 Replies View Related







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