Ubuntu :: Mkfs.ext4 Hans On All Disks?

Nov 26, 2010

Im running ubuntu server on a c2d 3ghz server, but got stuck yesterday when i was going to install some new harddrives.I did experience some problems during installation of ubuntu as well.Tried with an SpinPoint 1TB disk, but the install hanged when ive configured partiotion setup and was writing changes to disk.However, it worked with a 400gb disk i found under the bed... Now im trying to partiotion, format and mount 2x brand new 2TB WD Caviar disks.Im creating the partition in fdisk, and everything is going well, so far.But when im trying to format the partitions ive made (sudo mkfs.ext4 /dev/sdb1), everything just hangs.It just stops right after it start writing.This is what i get: "Writing inode tables: 60/14905"And after several tries and 15 minutes waiting time, i get: ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir

View 2 Replies


ADVERTISEMENT

General :: Recovering A 'ntfs' Partition Which Got Ruined By Mkfs.ext4 Command?

Jan 28, 2010

I just ruined my /ntfs partition. I used the mkfs command and stopped it by ^C immidiately, but it was too late. mkfs.ext4 /dev/sdb1

Is there a way to recover NTFS partition now ? The partition </dev/sdb1> was 'ntfs' and mkfs.ext4 did not check if it was a ext4 or give any pre-check warning, just went ahead with making the ext4 fs on a ntfs partition.

View 6 Replies View Related

Ubuntu Installation :: Which Disks Can Be Main Boot Disks

Mar 31, 2010

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?

View 2 Replies View Related

Ubuntu :: Make Grub Always And Permenantly Detect Ext4 As Ext4 Not As Ext2?

Apr 23, 2010

I got a problem booting ubuntu 10.4 RC but i solved it by replacing root partirion uuid in grub boot menu then I disapled totally uuid passing to linux from /etc/default/grub . but something else i noticed why grub choosed insmod=ext2 why not ext4 specially I use now ext4 .I tried by editing the grub boot menu replacing "insmod=ext2" by "insmod=ext4" it booted and the three lines error during booting that i used to see them science ubuntu 9.10 totally disappeared . really I dont understand can anybody explane for me.and if what i did was right ,can anybody tell me how to make grub always and permenantly detect ext4 as ext4 not as ext2.

View 6 Replies View Related

Debian Hardware :: Servers Which Contain SATA Disks And SAS Disks?

Feb 25, 2010

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)

[Code].....

View 3 Replies View Related

CentOS 5 :: 5.5 Ext4 Conversion - Ext4 Partition Is Recognized As Ext3?

May 19, 2010

I had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting

yum install e4fsprogs
tune2fs -O extents,uninit_bg,dir_index /dev/md2
nano /etc/fstab # I indicated here that my /dev/md2 is of ext4

[code]....

View 4 Replies View Related

General :: Can't Mkfs USB 1TB HD On RHEL5?

Jul 6, 2010

When trying to mkfs -t ext3 /media/HD-CEIU2 mounted drive, I receive "is not a block special device". Then after answering yes to proceed anyway, get messages indicating the device couldn't be read. I did fdisk the drive and rebooted.

View 1 Replies View Related

Ubuntu :: Mkfs.ntfs Partitions Are Not Recognized By Windows 7?

May 7, 2010

I formatted with mkfs.nts a USB 500 GB external drive. Under Linux when I connect it to the USB port it's recognized and works. Under windowz 7 home is's seen in the device list but not in the computer window. I can't do anything with it apart eject it. This is what I get from fdisk:sudo fdisk /dev/sdcThe number of cylinders for this disk is set to 60801.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs(e.g., DOS FDISK, OS/2 FDISK)Command (m for help):

and this from fdisk -ls /dev/sdc:
gt[~]$ sudo fdisk -ls /dev/sdc
Disk /dev/sdc: 500.1 GB, 500107862016 bytes

[code]....

View 5 Replies View Related

Hardware :: Mkfs After Transferring Data To HD?

Mar 6, 2010

openSuse 11.2 KDE 4 desktop User = newbie I was having some trouble with a Hard drive that I store my photo's and other personal data on. Fisrtly, it was messing my OS up, so that it would not boot to the desktop, but only to the command line where it would report that this drive was somehow corrupted and needed to be repaired. Secondly, the OS was reporting that certain files were 380,000.2 TB in size. this drive is only 200 GB.I didn't want to do the repair until I found a way to back up my data. I found another hard drive to do backup to but I had to take some data off of it. Which I did.

In the spirit of trying learn command line I decided to partition and format the hard drive using fdisk. I found some easy to use directions and proceeded to partition the drive. Unfortunately, I failed to realize the directions were only for the partitioning part [my fault for not reading further]. What I missed was that after using fdisk to partition, you must use mkfs to set filesystem type.[I thought I had done that in fdisk using the "l" , "t" commands within fdisk].

My questions are:

1] Can I do this mkfs command after I have put my data on the new hard drive or should I start fresh and redo partioning? [I have not deleted the other drive so my data is still there.]

2] What would be the cause of the incorrectly reported file sizes?

View 2 Replies View Related

General :: Mkfs Check For Bad Block?

Jan 9, 2009

how long mkfs will take to check for bad blocks on an 500 gig SATA drive? The drive is a warranty replacement from Western Digital. It's been running about an hour now. I had run mkfs ext3 on it before I realized I should check for bad blocks so I am running the check now.

View 2 Replies View Related

Fedora :: Does Mkfs.ext3 Erase Data?

Jan 6, 2011

I accidentally ran mkfs.ext3 /dev/sdb on the wrong drive.It used to be 2 NTFS partitions with lots of data. is there any hope I can only change the file system to ntfs back and revert what I did?not sure if mkfs erase the data or just rewrite some partition table.

View 7 Replies View Related

Hardware :: External USB Drive - Mkfs Hangs / Solution For This?

Nov 13, 2010

I have a 1TB external USB drive that I'm having a lot of trouble with.

First I created a 500G partition, then formatted it with ext3. That went as expected.

Then I tried to copy a large (~50G) archive to it, and at about 13G it just stopped. I was using "watch" to view the progress, and it just stopped suddenly. I left it for quite a while, to see if it was actually doing something, just slowly, but nothing.

I tried to kill the copy command, but it wouldn't die. I killed the parent processes, and it just kept moving up the process tree until init was its parent. I tried rebooting.. I got the message "system is going down for reboot now", then the first few messages of the reboot process, and then it just stopped at "unmounting local filesystems". Again, I left it for a while, nothing. I ended up hard booting it.

After rebooting, I recreated the partition, then tried formatting it. This time it started writing inode tables, then just stopped at a certain point. I think at 133/4001. Again, I left it for a while and it didn't move.

Again, I tried killing the process and it moved up the tree until init was its parent. Rebooting hung at the same place, and again had to hard boot it.

This time I deleted the partition and tried creating a small partition - 500M. mkfs formatted it as expected, and I was able to mount and write to the partition.

I deleted the small partition, and tried creating a larger one - 100G this time. fdisk created the partition just fine (and did not complain or report any errors through this whole process), but again mkfs gets stuck.. this time at 34/801 inode tables. I haven't been timing it, but I want to say it's been at least 10 - 15 minutes.

dmesg reports some drive errors, but I'm not sure what they mean code...

View 2 Replies View Related

General :: Unable To Get Drive Geometry When Mkfs.vfat?

Jan 26, 2010

I got this message when I tried to format my eternal usb hard disk to vfat format. Do you know what it is about?

# /sbin/mkfs.vfat /dev/uba3
mkfs.vfat 2.11 (12 Mar 2005)
unable to get drive geometry, using default 255/63

i have umount all the /media/ I have done an experiment on /dev/uba3. I was able to /sbin/mkfs.ext3 /dev/uba3 but not on mkfs.vfat

View 3 Replies View Related

Server :: Create A Initrd Image Without Using Mkfs But Cpio?

Jan 26, 2011

how to create an initrd image using cpio, instead of mkfs?

Now im doing it like this:

Code:
dd if=/dev/zero of=initrd bs=1024 count=10000
mkfs -t ext2 -F -m 0 -b 1024 -i 1024 initrd

But i would like to move to cpio, because with dd, if you add something new, you might need to change the count. Also cpio is used in distro's like Fedora and Ubuntu.

View 2 Replies View Related

Software :: SD Memory Card Format With Mkfs.vfat?

Jan 25, 2011

I am trying to format 4 GB sd memory using mkfs.vfat. I want to use the card both in linux and windows so I am formatting with Vfat filesystem. When I format the card from command line with "mkfs.vfat -F 32 /dev/mmcblk1" I am getting a warning message like
"unable to get drive geometry, using default 255/63" but the data in the card is erased.

But when I mount the card and checks for the size using df -h its showing 1 GB instead of 4 GB. how to format the SD memory card or any other alternate way to format the card.

View 4 Replies View Related

Slackware :: How To Create Raid Arrays With Mkfs.btrfs

Jun 21, 2011

what do I have:2x 150GB drives (sda) on a raid card (raid 1)for the OS (slack 13.37)2x 2TB drives (sdb) on that same raid card (raid 1, too)2x 1.5TB drives (sdc,sdd) directly attached to MoBo2x 750GB drives (sde,sdf) attached to MoBo too.if i got about it the normal way, i'd create softRAID 1 out of the the 1.5TB and the 750GB drives and LVM all the data arrays (2TB+1.5TB+750GB) to get a unified disk.If I use btrfs will I be able to do the same? mean I have read how to create raid arrays with mkfs.btrfs and that some lvm capability is incorporated in the filesystem. but will it understand what I want it to do, if i just say

Code:
mkfs.btrfs /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1
probably not, eh?

View 3 Replies View Related

Slackware :: Format A Device Into XFS Filesystem Using Mkfs Command?

Sep 15, 2010

I'm trying to format a device into XFS filesystem using mkfs command. Suppose I have a /dev/sda1 device with 4096 block and I want to format the whole thing, how can I execute the command? I keep getting various errors while executing it.

View 7 Replies View Related

Ubuntu Installation :: Wrongly Mkfs To /dev/sda1 Insted Of /dev/sdb1 Data Deleted?

Jun 6, 2011

I had a working Ubuntu 9.10 with Windows 7 installed, and i was writing an image of IPCOP [URL] to the USB drive incorrectly, i did mkfs on my primary partation i.e. /dev/sda1 now i am trapped in situation, i was trying to write and usb-hdd image of ipcop on USB Drive, while doing so, i have given following commands

1. mkfs.vfat /dev/sda1
2. e2label usb-pen
3. zcat filename > /dev/sda1

* now the stupid thing i have done, is given /sda1( My HDD ) instead of /sdb1 (USB Drive), it has successfully loaded IPCOP bootable on my primary drive, and my laptop is not working now.

Laptop Partation Info:
/dev/sda1 - NTFS (Windows 7 Prof)
/dev/sda2 - NTFS

[code].....

now i want to get my partitions & data back, if anybody have idea about how to get rid of this situation. The good thing i have done, is that, i didn't tried to install anything on the drive after this happened, with hopes that i can get my data back i guess that it can be recovered but confusion is that, which data recovery software to use, and for linux or windows, as i had my data on NTFS filesystem and currently there is Free Space and EXT4 partition.

View 2 Replies View Related

CentOS 5 :: Mkfs.ext3 Works Fine On SAS But Always Hangs On SATA

Nov 10, 2010

I have more than a dozen servers running CentOS (mostly supermicro servers) everytime i do mkfs.ext3 or mkfs.ext4, it always hangs the server (nothing is responding, not even the terminal) can't even do Ctrl+C to kill it. but the funny thing is, if i leave it on for hours, it'll finish eventually.

this puzzles me, i've tried so many different SATA drives and different servers, different kernels, different CentOS. for example purposes, my CentOS 5.3 runs 2.6.18-92.1.13.el5 kernel. i also have 5.4 and 5.5. mkfs.ext3 works fine on SAS, but always hangs on SATA. here's where it usually hangs Writing inode tables: 2126/7453

View 5 Replies View Related

OpenSUSE :: Accidentally Format - Mkfs.vfat On My 1Tb Ext - Recover The Data Completely?

Oct 11, 2010

A friend accidentally did mkfs.vfat on my 1Tb ext. hard drive..It's now showing as 400 GB free where it was 10 GB previously and the remaining data is being shown as weird symbols and empty folders and yet it occupies more than 500GB..Any way to recover the data completely?

View 1 Replies View Related

Hardware :: Windows Vista Can't Read My Ntfs Partition Created By Mkfs

Oct 16, 2010

I'm dual booting windows vista and ubuntu hardy on a multi-partitioned Dell D630. I created a partition using mkfs -t ntfs. Linux has no trouble reading/writing to it, but every time I boot into windows, chkdsk tries to "fix" the partition, fails, and tells me that the partition is corrupted. Can anybody suggest a way to convince vista that the partition is indeed ok, or else another way to create the partition so that vista can recognize it?

View 1 Replies View Related

General :: Fdisk Change Patition System Id _after_ Mkfs.ext3 OK?

Jul 20, 2010

I've a new external usb drive that was shipped formatted fat32. I wanted to convert this to ext3; so I performed a mkfs.ext3. I then noticed that fdisk was still reporting the usb drive as fat32 (even after reboot), but mount was reporting ext3: so I fdisk'ed the drive and change the partition's system id to 83 (Linux)

View 1 Replies View Related

Slackware :: Mkfs.msdos Symlink Missing In Slackware 13.0?

Feb 1, 2010

The mkfs.msdos symlink seems to be missing in Slackware 13.0 32-bits. However it is there in 64-bits. This: [URL]...e_is_mkfs.vfat

View 2 Replies View Related

Hardware :: Ran Mkfs.vfat Over Top Ntfs Partition - Any Way To Restore Ntfs Partition Info?

Oct 12, 2010

I was attempting to format a flash drive, and well, used the wrong sdX device. I've run DiskInternals Partition Recovery tool, and all my files are still there (you have to pay $139 to have it restore the files). Is there any way using tools in linux to restore the ntfs partition/files? It was a single disk with the partition taking the entire drive. I've tried mounting it with the -t option, but it says invalid ntfs signature. Man, two lessons the hard way, make sure you backup (duh) and be careful what you type as root.

View 8 Replies View Related

General :: Partitioning - Difference Between File System Created By Fdisk And File System Created By Mkfs?

Aug 1, 2011

I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:

View 2 Replies View Related

Ubuntu :: Can't See Usb Flash Disks

Aug 18, 2011

i just install lubuntu and everything is work but it can`t` see my usb flash disks , usb ports is working because when i plug there my mouse it begin to work
is any solution?

View 9 Replies View Related

Ubuntu :: How To Browse Local Disks

Jan 18, 2010

log in ubuntu (i use Ubuntu v9.04) , and i go to Places->Computer, but i can't access to my local disks?A notice of error is:Code:Could not display "computer":Nautilus cannot handle "computer" locationsWhat's this error? How to fix it or only reinstall Ubuntu?And i have another question: How to install GTK+ , i want to find GTK+ deb file, but i can't. I install GTK+ by compile source code, but when i compile, in my ubuntu don't find package ATK,cairo.... But i don't know exact what's ATK, cairo. I can't find it.

View 1 Replies View Related

Ubuntu :: What To Do To Recover Data From Disks

Feb 7, 2010

I'm browsing on my phone which is not letting me scroll to the end of this text box so I will say thank you in advance for any replies now.After my computer was switched off abruptly after a power outage I have many errors upon booting. My hard drive setup consists of a RAID0 array of two 500GB sata disks. The partition table (from my head!) goes like this:50GB NTFS Windows XP /c/50GB ext4 Ubuntu 9.10 /4GB swapThe rest is a large NTFS partition all the way up to the end of the array at 987GB. Mounted at /media/share/I am thinking I will have to start again (I won't lose much, I have recent backups), but what is the best way of restoring the system as much as I can? Currently my computer has been booted into Ubuntu for over an hour, and after pressing ctrl+alt+shift+F2 I can see that it is finding errors still, now at sector 6008. Should I let this run its course or REISUB it and boot onto a live CD. I think the main problem is with an NTFS partition

View 1 Replies View Related

Ubuntu :: 10.4 Checks Disks After Every Boot?

May 15, 2010

Ever since my upgrade from 9.10 to 10.4, every time I reboot the system it does a full disk check. /var/log/boot.log tells me that fsck thinks that the file systems contain errors or that it wasn't cleanly unmounted. And yet, it doesn't seem to actually find errors, and a clean reboot starts another check (again with it thinking something is dirty). I dual-boot with Windows, and reboot from there with the same problem.Again, all of this is new with 10.4 and was not happening with 9.10.Is there a way to find out when/how/why the disks are not being unmounted cleanly?

View 4 Replies View Related

Ubuntu :: Unmounted Disks Keep Waking Up

Aug 31, 2010

On my desktop, I try to instantly put some disks into sleep using hdparm, for some tests. Though the disks are unmounted, they wake back up in seconds. How can it be? How can I track which process wakes a disk up with what operation? I think unmount disks should default to standby during system load.

View 2 Replies View Related







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