I just bought a 3TB drive to use for backups and I'm getting a strange message when I run fdisk to get a listing of the drives.Here's what fdisk says about the 3TB drive:
I am running Debian 3.2.0-0.bpo.2-amd64 on hyper-v, my / volume ran out of space and is sitting at 100%, I have extended the disk size on hyper-v, however when I go to Fdisk I see duplicates of each disk.
I have total of 2 vhds on the vm, so I see 4 disks under fdisk. Here is the output of fdisk
I have never seen this one before (see below) - note how /dev/sda1 is mounted from the first disk listed by fdisk, but /dev/sda2 comes from the second disk; what is going on here? This is what I did: I installed the latest debian "Testing", which went well - it found the disks in the order show by fdisk -l here. When it booted up after installation, it failed because it couldn't find /, which I repaired by editing the grub menu (I told it to start from the other disk), and it came up. But now I had to mount /u01 by hand from /dev/sda1; strange. I suppose I could just go and change the physical disks around, but I'd like to understand this. Any ideas?
I have some WD20EARS drives that I am trying to format into a pair of Linux software RAID1 devices. The problem is that at seemingly random steps during the process, the operating system decides the disk is a size much smaller than it actually is (2 TB, or as reported by the OS when it is acting normal, 1.82 TB). I follow this general layout of steps: first, I do fdisk -u /dev/sd[x], create a primary partition spanning the whole disk starting from sector 64 (to align the advanced format blocks properly). I set the partition type to fd (software RAID autodetect). Then, I assemble the arrays with mdadm:
Code: mdadm --create /dev/md[z] --level=raid1 --raid-devices=2 /dev/sd[x]1 dev/sd[y]1 And then I create an ext4 filesystem: Code: mkfs.ext4 /dev/md[z]
For reasons I can't understand, fdisk, parted, and gparted (basically, everything) decides at any random point in that process that my disks are not 1.82 TB, but instead something like 172 GB or 500 GB. Once that happens, nothing I do to try to get my disks back seems to work. I've tried using expert mode in fdisk to manually reset the number of cylinders to the correct amount, but this hasn't worked either. Nothing short of reinstalling the system seems to work (but when I boot the installer, it seems to recognize the correct size of the disks).
I have/had a PC with several hard drives, and a mix of ubuntu and windows on multi boot.The old boot drive died screaming, and I need to start again. (But my data is safe! yay!)
Is there anything special about which drive can be the main drive to start booting from? Or to put it another way, can I install to any of the other 3 and expect it to work, or do I need to switch them around so a different drive is on the connections for the recently dead one?
I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?
I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);
dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)
(a new server,2 CPU 8 core and 8 gb ram)
1000000+0 records in 1000000+0 records out 1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)
I'm getting an error when I try and zip a large file on Linux because it is too large for zip to deal with. what commands I can use to get around this?
This is the error I'm getting:
zip error: Entry too big to split, read, or write (file exceeds Zip's 4GB uncompressed size limit)
I've recently completed a fresh install of 10.04 on a home file server and upgraded the hard drives in my storage array. My PREVIOUS hardware was:
Old version of Ubuntu (I forget which one exactly, but I know I had missed a few upgrade cycles)
3X 500 GB Seagate Baracuda's (for the array) Areca 1220 Hardware RAID controller Intel Core 2 Duo 6600 320 GB Seagate for the boot drive
I was running that hardware for about five years or so and it was rock solid. After the upgrade the hardware specs are:
Ubuntu 10.04 Areca 1220 hardware RAID controller 4x 1000GB Samsung Intel Core 2 Duo 6600 320 GB Seagate for the boot drive.
The fresh install of Ubuntu 10.04 went remarkably well. The drivers for that raid controller are in the kernel, which is great. I was able to access the old array after upgrading Ubuntu. Now I am trying to create a new array with the four 1000 GB drives in a RAID 5. Obviously that gives a maximum storage capacity of 3 TB, greater than the 2 TB threshold that seems to be so important. I've been doing some digging and here is where my questions start:
it appears as though gparted doesn't support file partitions greater than 2 TB, correct?
it also doesn't seem as though parted supports ext3 or ext4, is that correct?
If this is the case, how do I create a partition with ext4 that is greater than 2 TB?
I can see the array volume in gparted (which is a relief) but it lists the size as 2.73 TiB, which I find curious because that is over 2 TB, but not the full capacity of the volume. I can also get to the volume in parted. But I see in the parted documentation that using the makepartfs command is discouraged and instead, one should use the command mkpart to create an empty partition, and then use external tools like mke2fs ( to create the filesystem.
how to proceed from here. What does the community think is the best course of action to create a partition of 3TB in ext4? Then I need to change fdisk to automatically mount the array at every log in, right?
I have a problem with TFTP files greater than 32MB with Ubuntu. I haven't been able to find a fix for this issue. This has been a known issue for years and was corrected in the winodws world(AUGH !). when I did an apt-get install this morning it said my tftp was up to date.
I am totally new to unbuntu, I am trying to download ubuntu desktop but the message from IE 9 returns that "download greater than 12 hours"and that is that! my dsl connection is 6Mb and I do not know what to do.
I have a huge RAID6 array 21TB+ already partitioned in GPT. This is to be used as the storage location for my company's backup server, and I want to access it as one logical volume. Is this possible with Centos5? I just discovered the product specifications for Centos5, and saw that the maximum file system size is 16TB, but LVM2 should support volumes up to 1EB. Is there any way I can make this work in Centos, or am I going to have to run a different distro?
I have an Apple Aluminium keyboard. To the left of 1 key I have the less/greater (< >) key, not grave/tilde (` ~). xmodmap does not work for me: layout switching (done with setxkbmap) resets my xmodmap changes. .Xmodmap file does not help either. How do I remap the tilde key?
I have a Ubuntu NAS set up with two 1.5TB in a mirrored array. We recently needed more storage and will constantly be adding to this machine. We added 2 2TB drives in a striped array. What I'd like to do is find all directories totaling 10GB+ on the mirrored array and move them over to the striped array to increase storage on the mirrored array for smaller, more important data. I've tried:
1. How sum of system time and user time can be greater than real time ? 2. Even though my program is not waiting for any I/O the real time is smaller than system time as shown
root@chaitu:/home/chaitu/Desktop/Chk# time ./new real0m0.001s user0m0.000s sys0m0.004s
I'm using Fedora 13 , wireless card:Intel 512AN_MMW kernel version:2.6.33.6-147.fc13.i686 below is my problem: when i finished install F13,i can use Wireless card surfing internet i have multiple ap's , and if the ap set with same ssid and different channel, i can roaming between ap's if i'm accessing the internet , otherwise, it won't change to greater signal ap if i'm not using the internet , does this condition normally ?
The other question is , if i'm using different ssid , like "wlan01" "wlan02", can i roaming between this two ap's automatically?
When i try to run pitivi i get the following message and it closes down. "Install a version of the GStreamer Python bindings greater or equal to 0.10.19" without the quotes.What do I need to do? Where is the deb package for gstreamer needed?
I installed 10.4 on my Satellite Pro via CD replacing XP. Screen resolution is now only 800x600 which fills only 3/4 of available screen space and there are no greater options in System Preferences Monitors. It is also operating rather slower than the previous OS, maybe these two issues are connected? I have checked Administration for any required Proprietary Drivers. There is just one for a modem which is activated. During installation I aborted it then closed down and restarted, which may have affected the process?
I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.
But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??
we are running a Red Hat Enterprise Linux ES release 3 (Taroon Upd 5) Kernel 2.4.21-32.ELsmp since several years. The server hosts an old ERP system who will be replaced at the end of the year.However it is necessary that some collegues are able to write some files to that server regulary. Since we are running Windows 7 on several machines, those users aren't anymore able to write to the samba share. Getting files from the share works fine.
But the problem seems not to be situated at the samba service because also the transfer using SSH (WINSCP) from any Win7 system to the server doesn't work.During testing we recogniced that transfering files smaller then 1kb works fine ... any file greater then 1kb ends up in an connection abort. This works with samba and also using SSH.All the workarounds editing some registry entries in Win7 for improving the interoperability between vista / win7 and samba don't work for us ... and also seem not to be the source of the problem.Is there a general known incompatibility between our RHEL version / kernel and Windows 7 regarding file transfers?
Since installing 10.4 I've been having startup problems: I get a message requiring me to press S to mount various disks. Something which I've never really understood is: what is the relation between fdisk and fstab?At present fdisk gives sda1 and sda2 as my Linux partitions, sdb1 and sdb2 as my Windows partitions. fstab has:
I actually wanted to create partitions on my usbstick, but instead I fdisked new partitions onto my boot + datadrive. It is still running. Is there a chance I can recover that?
It looks like I have one hard drive (30 GB) with three partitions, but df says my primary partition is under 9 GB? Shouldn't it be much larger? Code: $ sudo fdisk -l Disk /dev/sda: 30.0 GB, 30020272128 bytes 255 heads, 63 sectors/track, 3649 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0004b8d0 .....
I have knowledge to make partitions unders windows using fdisk. In Red Hat there is also a fdisk command but how can I use it? In which situations we use linux fdisk ?
I have used fdisk command in windows environment.Just insert a bootable cd having fdisk into cdroom and start hard disk partitioning. I have been working in red hat/fedora Linux since many months.I always use gui interface to do my hard disk partition. Well i am eager to learn Fdisk under Linux. How can I use it ,Its method to create a a fdisk cd or it is in the 1st cd of the operating system ?
I have a dell poweredge 2950 server which had red hat on it. I have installed ubuntu on top of it. I have replaced master boot record during the installation of ubuntu as I dont want use red hat anymore. During the installation it asked me for the space I wanted to give for Ubuntu and I provided 10GB. Now I can use only 10GB of my harddrive until I mount other partitions correct?
So when I type sudo fdisk -l I get the below printed:
I'll avoid the details of what got me here and get right to the point.I have two primary partitions on 1 hard drive. sda1 is my fat32 recovery partition and sda2 is my ntfs windows xp partition. I need to know how to change the order around so xp is sda1 by using the terminal in the ubuntu live cd.
what I did was: - have NTFS (450GB + 4GB linux-swap + 44GB ext3 with ubuntu 10.10 upgraded from ubuntu 10.4). Ntfs partition contains data only, no windows.
- either with partition magic or paragon I tried to resize the NTFS and since then parted doesn't like my partitions anymore, but Ubuntu boots and works just fine..
- I took the output from fdisk -l and decided to remove the swap partition - ubuntu won't boot saying it needs the swap (although it was never mounted and i deleted the swap while ubuntu was active)
**NOTE: Since the partitions are not on cylinder boundaries, using parted to recreate the partition table may not be good enough.. I don't have a backup of the partition table.