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


ADVERTISEMENT

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

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

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

Ubuntu :: Transferring Data Between 2 Laptops

Jun 15, 2010

I would like to transfer a massive amount of data between my laptops simultaneously. Is there a way to attach a cable via one flash port on one laptop to another and transfer like that?

View 4 Replies View Related

General :: Transferring Data From Windows?

Dec 9, 2009

I' m using Mandriva 08 and windows 7 on my system. When i login to linux and try to copy data from linux drive to win drive or vice versa then it shows........

[root@lenovo mnt]# cp /home/simer/Desktop/*.avi win_e/
cp: cannot create regular file `win_e/xyz.avi': Read-only file system
cp: cannot create regular file `win_e/abc.avi': Read-only file system

I tried rsync, scp but didn't worked.

View 2 Replies View Related

Ubuntu :: Transferring Data From Hard Disk?

May 30, 2011

I was dual booting Ubuntu 8.10 and Windows Vista on a Acer Aspire 5920. My laptop went for service and the company said they will give me a fresh laptop instead of the one I am using now for they cannot set it right.

When I plugged in my hard disk through an external cable onto a windows machine it detected only the data present (which is almost negligible in my case) in the vista partition. I would like to transfer all the data I have from hard disk at least the one in the Ubuntu 8.10 to my new laptop on which I plan to run Ubuntu. Can someone guide me on how to go about doing it? Also is it possible to transfer all the installed softwares so that they start running in the new laptop without any extra effort?

View 9 Replies View Related

Ubuntu :: Android Transferring Data To New Card?

Jun 13, 2011

I am not sure where to post this so i figure that general help is as good as any. I have just bought my self a 32 gb micro sd card and I want to transfur all my old stuff (apps, contacts, music) off my existing card, how do I do this?

View 2 Replies View Related

Ubuntu :: Data Loss When Transferring Large Number Of Files?

Jul 20, 2010

This problem is not exclusive to Ubuntu, I've experienced it in Windows and OSX as well, but it seems that almost every time I transfer a large number of files (i.e. my music collection) between my desktop computer and laptop via my external hard drive, I end up losing files for no reason. I usually don't notice the files are missing until later on, because I am never informed of any data loss. Now, every time I make a large transfer of files, I just do it two or three times to ensure that I don't lose any files.

View 2 Replies View Related

Ubuntu Security :: Transferring Sensitive Data Quickly And Securely?

Jun 27, 2011

My company needs to send sensitive data across to another company, 800gb of .dpx. The way I have thought of is:
E-Sata/1TB WD black.
True-encrypted/ hw accelerated aes (3x machines being built with 2600k)
Sha1sum on each file.

The main goal is to make sure that
1. The files that were transferred off the server onto the drive, are exactly the same.
2. Secure.
3. Fast.

View 9 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

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

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 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 :: 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

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

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

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

General :: Transferring Mp3's Over To The Ipod

Jan 21, 2010

I'm running Ubuntu 9.10 Karmic Rhythmbox recognizes my ipod just fine.. and i have no problem transferring mp3s over to the ipod. but when I unplug the nano from the computer it says I have 0 files under music.. yet 4.5GB are missing out of the 8GB. what in the world?? When I double click the IPOD on my desktop it shows all the mp3s too, but when I unplug it's like it's an empty ipod like nothing transferred, but yet it says synchronizing....

View 6 Replies View Related

OpenSUSE :: Transferring Music To Windows

May 2, 2010

I copied all my music to my pen drive, and when I go to copy it onto windows it doesn't work. Is this something to do with the way Linux saves it or something.

View 5 Replies View Related

OpenSUSE :: Transferring Files From One O/S To Another On The Second Partition?

Aug 22, 2011

I have two different Linux operating systems (on two separate partitions) on my laptop. One is open SUSE and the second is PCLinuxOS and I frequently have to update files and folders from one to the other (the consequences of trying to keep both current!). When I am using openSUSE and want to access folders/files on the other OS, openSUSE asks for SU authorisation to access the other . . ./home file. Until recently, I could open ALL of the folders on the (other) /home file but now I can open some folders but not others. The Dolphin screen shows a warning at the bottom that "Could not enter folder /media...... " ! I can then only access the folder by going into the menu and using the 'File manager -Super User' mode ..AGAIN.

I suspect this action is necessary because I have had to previously open these specific folders in 'Root mode' to be able to 'paste' the moved file! I would like to avoid this (double) 'messy' action - how to change/avoid this My system is a 32bit openSUSE 11.4 with KDE 4.6.0 and the 2nd OS is also KDE 4.6

View 6 Replies View Related

General :: Transferring SVN Repo From Windows?

Feb 23, 2010

How can I transfer these repos so that I can use them on linux? I simply just tried to copy and paste from windows to linux but no-go.

View 2 Replies View Related

Ubuntu Installation :: Transferring From One Disk To Another?

Jan 2, 2010

I guess I'll be asking the impossible... Is it possible to EASILY move my Ubuntu set up from one disk (smallish) to a bigger one, so that I can install Win7 as well on that bigger disk drive? I am not too keen on reinstalling ubuntu because then I will lose all those other ubuntu programs that I have installed.

View 3 Replies View Related







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