Ubuntu Servers :: Delete The Sdb1 Partition Fine, But Get The Same Error When Try To Create It Again?
Aug 22, 2010
have set up a server with OS on a 250GB disk (sdd) and 3x 1.5TB drives for a RAID5 storage setup (sda, sdb and sdc).Using webmin I can delete and create a primary partition in each one. But while I can also format sda and sdc, it refuses to do sdb for some reason:Executing command mkfs -t ext4 /dev/sdb1 ; partprobe ..mke2fs 1.41.11 (14-Mar-2010)
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
But I'm not using it
simon@ubuntu:~$ lsof | grep /dev/sdb
simon@ubuntu:~$ lsof | grep /dev/sdb1
I am having the same problem. I did delete partition trying to create a new shared fat32 one.below fdisk -l screen..I booted from live CD and tried quite a few things already...I think I need a clear direstions for it is getting annoying...
Device Boot Start End Blocks Id System /dev/sda1 1 5906 47437866+ 7 HPFS/NTFS Partition 1 does not end on cylinder boundary.
For some reason, the second hard drive (sdb1) is not automatically mounted:
rick@rab-1:/mnt$ sudo fdisk -l Disk /dev/sda: 500.0 GB, 499989348352 bytes 255 heads, 63 sectors/track, 60786 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000c17f6
[Code]....
Before I installed Ubuntu, I installed the RAID software to handle 4 500 GB hard drives - so there are supposed to be two mirrored drives. I'm not an expert in using RAID. I'm assuming it is correctly configured. I only "see" two drives. sda has Ubuntu etc. How can I get sdb1 mounted? I've tried using the palimpsest program but I'm afraid I screw it up. Do I need to re-format sdb1?
I have an external usb disk connected to a Debian desktop. A couple of days ago these messages started appearing in dmesg
Code: [154343.010908] EXT3-fs error (device sdb1): ext3_get_inode_loc: unable to read inode block - inode=14352940, block=57409572 [154343.014425] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #13272620 offset 0 [154343.014913] EXT3-fs error (device sdb1): ext3_find_entry: reading directory #3440641 offset 0 [154343.022172] Buffer I/O error on device sdb1, logical block 53138974 [154343.022209] lost page write due to I/O error on sdb1 [154343.022218] Buffer I/O error on device sdb1, logical block 53138976 [154343.022252] lost page write due to I/O error on sdb1 [154343.022256] Buffer I/O error on device sdb1, logical block 53138977
When this appears the disk becomes unavailable and I have to remove and plug it in and mount again. After that it works couple of hour and then the problem appears again. Is this a hardware problem?
I've been having some problems w/ a my RAID 5 array, and after extensive investigation, I'm fairly sure that my last resort is rebuilding the array. I'd tried --assemble, b/c it's a previously created array, but it didn't seem to like that. So, I checked into --create, and it will re-create the array w/out destroying the data, if the superblocks are persistent, which they seem to be. However, here's what I get:
[Code]....
My question is: why do /dev/sdb1 and /dev/sdi1 show as both ext2fs and also as part of a RAID array?
Just delete a linux partition and now when i boot a message appears and says error: unknown filesystem grub rescue >
I have search on the net for this problem and i have understand it a little. But my situation is a bit different and because i don't want to format my hard disc i wanna try to fix it. So before a couple months i download ubuntu 9.10 and i installed it a month later. But my computer used to crash all the time and i couldnt use it. So i download the latest ubuntu 10.4 and install it while having windows xp and the old ubuntu 9.10(so i had windows xp, ubuntu 9.10 and ubuntu 10.4 partitions). Now i tried to delete the partition of ubuntu 9.10 from disc utility. so i have the message i wrote above when i boot. I dont wanna delete my windows xp and ubuntu 10.4. what should i do to stop this message from appearing.
I was trying to create a partition on my hard drive on Linux using the GParted program. I noticed my hard drive had a key next to its name but could not find information regarding it online. I proceeded to unmount the drive and made 2 partitions. However, it game me an error saying it couldnt make the partitions. I turned my computer off thinking i would get back to trying tomorrow. Today i turn on my laptop and see the usual hp screen. But after that it goes to a black screen with a blinking underscore looking thing. It goes nowhere from there. It usually goes to a black screen after the hp logo, that says GRUB loading.
The external hard drive which contains all my photos and where I backed-up all my important documents is no longer recognized. It is a three month old 500GB Iomage Prestige Desktop Hard Drive.When I plug it in, it is recognised as a USB device, because it shows up when I type lsusb, but dmesg gives this error message.
[19712.013250] usb 2-2: new high speed USB device using ehci_hcd and address 21 [19712.145347] usb 2-2: configuration #1 chosen from 1 choice [19712.147214] scsi25 : SCSI emulation for USB Mass Storage devices
[code]....
I popped the disk out of the casing put it on a SATA connect internally and then tried the file recovery programs testdisk/photorec and SpinRite, but both failed because they couldn't recognize the external hard disk.
I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.
But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.
This is the .repo-file for CentOS that works like a charm:
Quote:
[local] name=CentOS-$releasever - local packages for $basearch baseurl=url enabled=1
After the CentOS repository was up and running I follwed the exact same steps and was expecting to find a Fedora repo up and running (I know, I know, silly me...). However, yum complains it cannot download the repomd.xml. The .repo-File is as follows:
I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.
I have 10.10 installed and working OK. The Home directory is located on a second 1TB disk (sdb1). Recently, I've started to experience random boot failures where the start-up routine gets as far as showing the '10.10' logo with the progress dots underneath, but then throws up an error message saying that it cannot mount sdb1. I then have an option to Quit or drop into the shell to do a manual restart.
If I then do a Ctrl/Alt/Del, the system reboots, but usually fails again. Powering off and on, sometimes more than once, is the only way to eventually get a clean boot. The drive causing the problem is fairly new and all the diagnostic checks seem to indicate that it's healthy, so I'm not sure what causes the problem.
I have a separate ext4 partition which contains all my data (music, movies, etc). When I delete files from this partition it is very slow because it copies files from my data partition to the Trash folder in my home partition. How can I avoid this? Can't the trash be configured so that it uses a trash folder in each partition instead of copying files to another partition (which is slow).
I want to wipe out my Windows partition and reinstall due to sluggishness. I plan to use Windows instructions as if it was on a hard drive by itself. Will this affect the multi-boot capability or the Linux partition in any way? Would it be easier to reformat and partition the entire hard drive and re-install both OSes? I use OpenSuse 11.2 and Windows XP.
I was so sure it must be easy to set up the file permissions like I want, but obviously it isn't. Here is what I want to have: I have a samba fileserver (only Windows clients connecting) with a common share. Everybody is supposed to be able to put files on the share, but no one should be able to delete files which do not belong to oneself. I want several users to put files in a common directory, so they need write access to the directory, right?
But all the same they should not be able to delete files from others. So they are not allowed to have write access to the directory, right? It all works fine with modifying etc. but still I can delete files I am not supposed to do. I learned already that permission to delete is bound to the permissions of the containing folder and that sticky bits might help. But either they don't or I didn't get it right until now.
I have been installing Fedora 8 Linux with already having Windows Xp as my primary OS....
I have a total of 80GB Hard disk.Out of 80 GB,I have freed 8GB for Linux.But during Installation after "selecting language for keyboard" and then choosing "Create Custom Layout", while giving partitions I have alotted 4GB for '/' and 2GB for Swap.
Initially space was created for root(/)...but it is unable to create space for swap and all other boot,home etc...
It is showing the error msg as "Could not create partition as there is no space left for /(root)"...
I have installed ubuntu 9.10 server with LAMP and SAMBA I have also added FMS (Flash Media Server). LAMP and SAMBA are running fine but FMS doesn't have all its functionality, it cant stream rttp.I have read that their may be a port/ip conflict between apache and fms but was wondering if anyone else had the same issues as me. I have also installed FMS with apache2 on my XP laptop to get the httpd.conf file and see how its set up, here it is.FMS / APACHE2 XP
Code: # # This is the main Apache server configuration file. It contains the
I have a home server running Ubuntu Server 10.10, it is running Samba for file sharing with a mix of Windows and Linux boxes in my house. My main problem is that the server is only accessible by IP or by using hostname.local, but it is not possible to connect to it by just typing the hostname. Further more, it is not being automatically discovered and listed by Windows or Linux clients.
What's really odd is that I also have an Ubuntu Desktop 10.10 install on a separate computer, and that computer is accessible using just the hostname and is automatically being discovered and listed by other computers.
What is missing on the server? What is responsible for resolving just hostname, avahi seems to only deal with hostname.local and that is working fine. I also compared the samba config of the desktop and server Ubuntu installs but wasn't able to find any setting that would be influencing this. Is there some package I'm missing on the server?
I am trying to set up cherokee on my vps that I have bought. Now I am able to get it installed and even was able to get to the to the cherokee admin manager so everything seems to be working fine even was able to start the server. What I am having issues with is the main page instead of getting the cherokee greeting page I get IT Works!
I have written a simple backup script, and added it to CronTab, but it doesnt execute at all. Here is my script: [URL]...And my CronTab entry: 0 */2 * * * root /home/server/Scripts/backup.sh
I am trying to install windows 7 on my harddive, I am running ubuntu 10.04 and have windows 7 on DVD.I was until recently also using uberstudent, which I deleted (100 gigs) to make space for windows.However once I get to the windows start up I get a message: setup cannot detect or create a partition for this partition. (not word for word).
I installed Redhat Enterprise 3 on one of my servers. In my haste I didn't properly partition both Hard Drives and only properly partitioned one of them. Thus now I have
Where /dev/sda1 is actually a 80 GB hard drive. Is there anyway I can safely and easily repartition the unpartitioned space without causing a huge mess? I have a very important Oracle database on /dev/sdb1 and thus I want to be able to back it up on the second disk. I can create a partition on that drive?
I installed fedora 13 64 bit and it works great but I encountered several issues when setting up guest OS with KVM. The problem seems to be related to selinux. But let me first ask question about logical volume. By Default fedora created logical volumes:
[Code].....
"If you expect that you or other users will store data on the system, create a separate partition for the /home directory within a volume group. With a separate /home partition, you may upgrade or reinstall Fedora without erasing user data files." seems to suggest I have to create a separate physical partition and assign that to /home. But reading elsewhere it seems to suggest logical volume acts like a partition. My goal is to make it easy in case fedora is hosed and I have to re-install it without affecting /home where my cirtical data resides. Given above do I need to create a separate physical partition or I am just fine?
I have a second hard disk that originally had windows and all my data. Windows is hosed but I can see my data from within Fedora and Windows is gone and I created created new partition in its place which used ot be the C:/ drive appears as 53 Gb filesystem. My data which was originally D drive appears as 215 GB filesystem. As given in [URL] I want to create a new logical volume in 53 Gb filesystem which I want to use as space for virtual disk to install guest OS's in KVM. Currrently 53 GB filesystem is mounted as /media/3467BH89JK789 but this does not work well with KVM. how do I create this logical volume out of 53 Gb filesystem partition and add proper selinux info and do I add to vg_vostrolx volume group and in a different volume group?
Recently setup Ubuntu Server 10.10 on an old Dell Poweredge 2650. It seemed to be working perfectly until I did my first reboot. I tried changing the 'root' reference on the linux line at the grub menu with no luck. I suspect the problem is something else but I have no clue.
So far the behavior seems completely consistent. If I physically power the machine down and start it back up everything works perfectly. However, if I do a sudo reboot now I'll end up at the initramfs prompt. I'm not comfortable setting up my dev environment on this box until I'm sure it will be stable. In case it matters the machine is running a single scsi drive and doesn't have a raid controller.
i'm confronting atm. I need to create a folder where ppl can copy files and i need to be sure that those files cannot be deleted after they are copied there. The folder will be accessed over network, and i need to be sure no one will delete somebody else's files.Also i need to tell you that i'm working with regular users, so creating a folder for each user and chown/chmod-ing it won't do the trick(allready tried and ended up with a whole lot of files in the parent directory).I also tried chattr +a but that doesn't allow them to write new files in the folder.
I was having trouble with an old lvm partition so I pulled all the data off and now want to re-partition it as an ordinary ext3 partition.
But gparted offers only Logical Partition for that partition. How do I convert that partition to a Primary or Extended partition - and which do I want?