Server :: Tune2fs: No Such Device Or Address While Trying To Open /dev/sda1?
Apr 3, 2011
Last night, OSSEC sent me some warning emails related to bad hard disk:Code:Apr 3 20:26:58 207 kernel: sd 0:0:0:0: SCSI error: return code = 0x06000000
Found a raw device for my card when reading through the /proc/partition list but got a "no device" message when mounting the card - mount -t vfat /dev/sda1 /var/card though there is sda in the list.How to know if sda1 exists?
Error occurred while booting from QEMU. I am building a minimalistic linux kernel using virtual hard disk. GRUB was loaded successfully. But while booting kernel, I got the following errors :
"can't open /dev/tty2 : No such device or address " "can't open /dev/tty3 : No such device or address " "can't open /dev/tty4 : No such device or address "
I, then created these files using mknod. Still the same errors occur.
I had found the following error messages one of my Linux server. the file system using for this partition is EFI GPT. Is this cause because of RAID controller incompatibility or Driver mismatch? PHP Code:
I have two large HDD's in my windows based system. Of course I partitioned them and such (by the way the OS is XP Home) I decided that i would like to try Ubuntu so set up a live CD of version 8.10. now I used the install directions on the disk and installed onto a external 500 gig HDD.Now I can't boot to XP and I get GRUB errors. Some times iit's error 17 sometimes it's 21 . I try using the command terminal ...sudo ms-sys /dev sda1 (my boot-able NTFS disk) but I get "Unable to open -m/dev/sda1, No such file or directory"
Trying to configure perfctr-2.6.40 on CentOS 5.4 x86_64Followed the instructions given herethen thisbut when run ./examples/self/self get below errorvperfctr_open: No such devicetried to run perfex with -i option gives below errorerfex: open perfctrs: No such deviceoutput of file /dev/perfctr is below/dev/perfctr: character special (10/182)
An old machine in our office, running Ubuntu 6.06 all of a sudden will not boot up. I get the following info during boot:
Uncompressing Linux... Ok Booting the kernel mount: Mounting /root/sda1 /root failed: No such device mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory
[code]....
I haven't changed anything on the system as far as I'm aware, and I ran some HD diagnostics and everything seems fine. however when I try to mount the drive with the following command:
sudo mount -t ext3 -o rw /dev/hda1 /mnt
I get the following error:
mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing code page or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
I ran fdisk -l and it says the partition type is Linux. The output after running dmesg | tail :
I rebooted my server and out of nowhere the RAID5 array won't assemble. I've tried everything I could think of to reassemble the thing. I fear that the array is ruined, but I can't imagine how. Here are various bits of information: The simplest failure (with and without partition numbers, which have not been needed in the past):
Code:
richard@nas:~$ sudo mdadm --assemble --verbose /dev/md0 /dev/sd[bcd] mdadm: looking for devices for /dev/md0 mdadm: cannot open device /dev/sdb: Device or resource busy
I hv Cent OS 5.3 installed as server. I hv a network of approx 100 desktops and laptops. For a security purpose i want to block certain laptops from gaining a the network access using dhcp. Can we block the ip address leasing if a specific MAC address request for a ip lease?
If I give "ifconfig" in my laptop I get eth0,lo,wlan0.In that where do I find my Ip address in Ubuntu in 10.04. In eth0 I dont find inet address.Where can I find it?
i am pretty much brand new to ubuntu i have messed around with it a little and have gotten my apache2 server up and running what i have some questions on is
1. How can i give my server a actual address and not my ip address?
2. Is there any way i can put like forum software on part of it? if so how?
3. What is the best way to write web pages i know some html so thats how i was able to write what i have now just wondering what best way is
Im trying to setup dhcpd to put certain systems witch have mac address starting with 08:00:* in a certain ip class. How can this be done?So any system with mac address starting with 08:00 to get an ip from this range 192.168.12.2-192.168.12.99.
what would be the simplest way to find out device IP address? I don't know its factory set address, so my plan is to connect laptop directly to it with ethernet. it should respond to ping.
I have a Western Digital 2TB HDD on Ubuntu 9.10. This is my secondary HDD which is used only for Storage of media files. I mount it as & when needed only to stream my media content. I have tried many times to use tune2fs to free up the extra space which has been reserved automatically by linux yet although it accepts the commands & doesnt give back any errors, when I run the df- h or du- h commands, linux has still reserved 200GB & I only have 1.8TB to use. This extremely annoying as Im quickly filling it up with about 400GB currently available for me, that could easily be 500GB.
My primary drive is a seperate HDD of 320GB Storage is /dev/sdb1 for which I mount it to a folder called 'media-centre'. Then after mounting, I run the command: tune2fs -m 0 /dev/sdb1 media-centre I takes the command with no problems, I run df -h, & no joy. I have read my books at home as well as google searches & forums. Am I missing something simple here, does this command work only with certain types of HDD's?
I posted on another forum & followed a post that said I should convert from ext3 to ext2 as the journal is the cause, I ran a tune2fs -O ^has_journal etx2 /dev/sdb1 (something like that) & checked /etc/fstab which did not reference my storage HDD.
I am trying to use the printer port. But, I get this
Code: Broadcom EJTAG Debrick Utility v1.6r-hugebird Failed to lock /dev/parport0: No such device or address johnh@tux:~/Ubuntu One/hh$ run from johnh I permission denied sudo-ing I get above.
I have a 2nd ethernet card in my system that I use to share my internet connection. eth0 is connected to the internet, and eth1 is used for my 2nd computer to connect into. Whenever the 2nd computer is turned off, eth1 forgets its ip address, then when then 2nd computer is turned on, it can't access the internet until I reset the ip address on eth1 ("ifconfig eth1 up 192.168.1.1). I only see this behavior under ubuntu 10.04, not the previous distro that ran on this box, slackware 12. How do I keep eth2 from forgetting the ip address when no computer is attached?
retrying with upper case share name mount error 6 = No such device or address Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) [root@servers guest]#
Ubuntu was a good choice for free server O/S. I am currently downloading it. My ISP wants to bind my static IP to a MAC address of the device that will be making my connection for me. Should my server be behind my router or in front of it? I kinda wanted it to be the access point and be able to monitor the usage from all the terminals in my house. We have 4 other PC's, a laptop and a PS3. My server is a Acer Altos G530 with 3.2 Xeon Processor, 4 gb of ECC DDR,
I am trying to perform VM cloning using KVM in a centos 5.6 machines. I copy the memory contents of a running vm to an external state file and try to use that to start another VM in a different machine. While starting the cloned VM I provide a different mac address but once it resumes it has the old one . I tried changing the mac address in ifcfg-eth0 but I get the error: Device eth0 has a mac address xx:xx instead of configured xx:xx.Ignoring .
Is there some way to change the ip/mac of the cloned vm without the need to restart the VM ( Then the purpose of cloning will be defeated). Thanks a lot for the info.
Slackware 10.2. My usb ports work fine when used directly. When I insert a USB hub to duplicate a port I get the message USB device not accepting new address=2 error=-71
I did a tune2fs -l on some volumes of mine, and a few say "not clean" as the filesystem state. But how do I tell what's causing it to be not clean, or how severe it is, so i know how soon i need to schedule downtime to run a e2fsck on that volume?