Hardware :: Advanced Format 4k Sector Drive With LVM
Nov 24, 2010
So I finally bought an advanced format drive, the 2 TB Samsung f4. I will be using it on my slackware box, running slackware 12.2 with kernel 2.6.27-7. I intend to format the drive by hand with fdisk and start the first partition on sector 2048, or perhaps boot a livecd and format it with a newer version of fdisk or parted that will natively partition this drive correctly. My real question is, do I have to do anything special to add this drive to an existing LVM volume group? I'm thinking no, since LVM basically just breaks all your data into 4 MB chunks and spreads them across the pool of partitions you've defined, but I've found many conflicting opinions from searching google. To simplify things, I'm not using RAID of any sort, neither hardware nor mdraid.
View 2 Replies
ADVERTISEMENT
Jun 27, 2011
I am getting a new 4kb sector HDD for my laptop, WD scorpio black 750gb, I would like to image existing partitions on 512bytes sector HDD and move them to the new 4kb sector HDD, what's the best way to do this.
present config is as follows:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code].....
I am planning to keep the same three partitions as the primary partitions on the new drive and add few more logical partitions. I would have liked to move to GPT but since I need Win 7, I am stuck with MBR partiotion table.
Now, I understand how to partition an Advanced format disk, what I want to know is how to move the existing partitions on the 80 Gb disk to the new disk?
I use Clonezilla to copy partitions but it is not compatible unless both the target and the source disks are already using 4096 sector size.
I can use Acronis True Image WD Edition to clone Win 7 but how do I clone Ubuntu?
Also my Laptop's chipset is limited to SATA 1.5, will it cause any issues, I know the bandwidth is not an issue.
View 7 Replies
View Related
Dec 29, 2010
I have 2 WD20EARS hard drives on the way (2 TB green WD disks with 4k sectors) and I'll be installing Centos 5.5 in RAID1 on them (2 partitions, one 16 GB / at the beginning and the rest in its own partition). I read the following thread: [URL]
and it seems that I might be having problems with the 4k sectors (Advanced Drive Format in WD lingo). I'm confused as to what exactly to do. I was thinking of downloading Fedora 14 Live CD and partitioning there and then switching to Centos 5.5 to install. Will that work? Seems I want the md 0.9 metadata because it doesn't have the space limit for me (2 TB) and it's stored at the end of the partition so it avoids alignment issues. Will I be able to make that happen with Fedora 14?
View 2 Replies
View Related
Oct 25, 2010
I have a Raid5 software partitioned using LVM (at centos 5.2 installation). Actually the raid is composed by 3 320Gb HDD. I would like to replace them with 3 2T hdd, but I'm worried about the alignment issues of the upgrade. I know it is easy to align the raid partition URL But what will happen to the LVM partition? Reformat and install everything is not an option
View 15 Replies
View Related
Jul 21, 2011
Can anyone tell me if F15 is aware of the new Advanced Format Hard disks. The new dell laptop has one of these drives in it. The reason for the question is the disk is a 250Gb but only seems to have 230ish available which does seem a lot to loose? The dell website only talks about Windows and not linux. Below is from their site:
"In an effort to support higher capacity hard drives, the Hard Disk Drive (HDD) industry is moving towards Advanced Format (AF) HDDs with 4KB sectors to address the current limitations with the 512-byte sector HDDs. The transition to 4KB sector HDDs will allow storage devices to more easily adopt larger capacities in both the notebook and desktop space. While hard drives will transition to 4KB sectors and to maintain backwards compatibility, current Advanced Format 4KB HDDs, also known as 512e HDDs, will emulate 512-byte SATA communications to hosts and will operate at 4KB."
View 6 Replies
View Related
Dec 31, 2010
My System Intel Core Duo E5300 Mobo - Gigabyte G31M-ES2L 1GB DDR2 800MHz RAM 4 x WD20EARS HDD I have been trying to install Fedora or Ubuntu for over a week. I thought it would take an hour and i would be away. I have been trying to install using the mdadm Software RAID feature. Everytime it takes about a day to format the drives and then i get an installation error. The drives state they are ready to use as is on any operating system other then WinXP, but this does not appear to be the case.
I am very new to Fedora... I have been doing some reading.[URL].. That information has been promising. I have been able to get into Fdisk off the live CD but i can't figure out how or if it is possible to do what i want it to.
Has anyone had any luck getting these drives to function correctly in a software RAID? I have had good luck with WD drives in the past and just assumed these drives would do what i wanted to but alas i have been proven wrong.
The partitions i wanted was...
- A 2GB swap parition
- A 10 GB RAID 1 partition for Fedora
- The remaining space as a Raid 5 for files.
Am i just banging my head against a wall here, or is this possible.
View 1 Replies
View Related
May 20, 2011
Upon trying to open a .wmv file, the system says it wants the above - which I suspect is not provided under the same name and is proprietary. Can anyone suggest the name of a plugin in the repository which would suffice? The file came as an attachment to an email file.
View 3 Replies
View Related
Jun 12, 2011
I was attempting to reformat a 16GB MicroSD card in my camera when the battery died mid-way. After that, any time I try to read the card in my camera, it gives me a "Card Error" and does not allow me to reformat it in my camera.
So, I thought I would plug the camera in to the laptop with it set to host the card as media when plugged in as USB, in an attempt to fix the formatting issue.
However, when I plug it in to my linux machine, it does not register as a device (e.g., /dev/sda) due to some errors, therefore I cannot reformat it. Essentially, I think I need to fix the partition table but I'm not sure how to when it doesn't register as a device. code...
View 7 Replies
View Related
Mar 2, 2011
Old Commodore Vic 20/DOS/Wintel guy here who wants to make a first foray ever into Linux by building a home server with 10.04. I've found so much seemingly conflicting information that I'm lost at sea about hard drives.
I bought the Official Ubuntu Server Book, The (2nd Edition), and started reading it, learning about file system and planning a different /home partition, potential software raid, and such pre-install considerations.
The cheap hardware I had considered is: HP ProLiant ML110 G6 Intel X3440 2.53GHz 2GB Memory w/ DVD ROM & 250GB HDD 3 x SAMSUNG Spinpoint F4 HD204UI 2TB 5400 RPM 32MB Cache SATA 3.0Gb/s 3.5" 6 more GB RAM for total of 8 The Samsung drives are Advanced Format. I read some reviews about OS partition alignment issues, and the past 2 days I've been down numerous rabbit holes of search on this forum and google in general about whether this will be a problem in 10.04. I'm wallowing in my own search-overload-induced fear, uncertainty, doubt, and paranoia now.
The release notes lead me to believe that "no brainer" support for these drives is now baked in to 10.04 ? That if I just follow prompts, the new install will partition and format drives properly aligned?
[Code]...
View 1 Replies
View Related
Jul 27, 2010
the recent versions of fdisk on Fedora 13 and Ubuntu 10.04 are supposed automatically to solve these things around 4k sector aligment thing if one starts fdisk with -u and -c flags. But I'm getting confused as the heads / sectors informations always differ every time I create a partition.I have WD Green 1.5TB disk. I want 2 partitions. sdb1 with 1.3TB and sdb2 with the remaining space. Here's how it looks like. When I create the first partition (1.3TB one), I get following listin with fdisk:
Code:
# fdisk -lu /dev/sdb
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
78 heads, 37 sectors/track, 1015342 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
[code].....
View 3 Replies
View Related
May 8, 2009
This is sort of mixed between hardware and software but it seemed more appropriate to me here. I'm building a server for very fast disk access. We have 8x32GB SSD SATA drives and 4x300GB SSD SATA MFT drives. The 300GB SSD drives are the slow kind of flash that writes slowly, and strangely is limited to 10K writes per sector. Long term data integrity isn't a big deal because it is backed up continuously but fast access to data is desired. Additionally the filesystem that contains this data deletes about 2.5 - 4 gigs of data per day, and adds about 2.5-4 gigs of data per day.
My plan is to create a hybrid drive of sorts, where the smaller 32G drives, lined up in RAID0, create a fast "buffer" disk, and on some increment what is in the buffer is written in bulk to the slower writing 300GB SSDs. I had two thoughts on how to achieve this, but ultimately I think that LVM snapshots are the best way to achieve this, put the read only "snapshot" on the big SSD drive and the other "differencing" part of the snapshot on the faster raid0. I'd much prefer a simpler solution where there is one block device to mount and all this is handled in the background.
View 1 Replies
View Related
Sep 15, 2010
I need some assistance in trying to format a USB hard drive to vfat format but can't seem to do so. I am currently using RHEL 5.3. I have tried the following commands and they all come back as "command not found"
mke2fs vfat /dev/sc1
fdisk vfat /dev/sdc1
mkfs.vfat /dev/sdc1
What am I doing incorrectly?? Can someone please point me in the right direction??
View 6 Replies
View Related
Feb 15, 2010
I want to simulate a bad block or sector on a drive or even a virtual drive image to test my data recovery distro. I wish I would have bookmarked when I read about it before. It was some type of low level command, I remember something about scsi subsystem or kernel thingabob.
View 3 Replies
View Related
Nov 27, 2010
Basically I got Windows 7 installed on my laptop and it's been doing nothing but slowing down more and more even though it isn't used for much more than basic internet use and I realized the hard drive was the cause, I did a bunch of stuff to try to fix it that I won't get into here, and in basic I'm to the point I'm just going to reinstall Windows 7, but this time with the help of Ubuntu's partitioning utilities.
I've already had the first ~5GB of the drive overwritten with zero's (thanks to DBAN) and now I'm booted on the Ubuntu LiveCD and trying to learn the command line stuff for formatting a drive. What I want to achieve is use the smallest amount of space possible for the MBR and that's also a point I don't quite understand.
After some research on Google I read that the MBR is on one sector only the very first one, yet the first partition on a hard drive starts anywhere from 63 to 4096. Why are they so far apart? And can I force the partition to be moved closer? I know I know their is pretty much no purpose to this but it bugs me knowing that their might be 31MB (64 512byte sectors minus 1 (MBR) and 64 (beginning of partition)) just going to waste when I could put the NTFS MFT there. Then the second and last part I want to understand is I want to make the NTFS partition have a 512byte allocation unit size and have it lined with the 512sectors on the hard drive so it can have the max performance. Does anyone know how to do this stuff or could find better info than I have on the internet?
View 6 Replies
View Related
Mar 5, 2011
It's many years since introducing of installation of Linux live CDs like Ubuntu from USB flash drives. I never been able to use such services on my 2GB KingStone flash drive, because it's sector size is 2048 and the famous linux error: "Not all ... support more than 512B sector size". Although I formatted my flash drive many times and even erased the whole partition table and cleared all flash contents with 0xFF values but it still has sector size of 2048.I want to know where the hell those softwares like "USB Startup Disk Creator" in ubuntu and kubuntu and fdisk in almost all linux distro's get to know that the sector size is 2048?
View 2 Replies
View Related
Mar 18, 2010
I wanted to check the first sector of my USB stick, and so I issued:dd -if=/dev/sda -bs=1024 -count=1It showed me all the weird characters from the data, then after it executed my bash prompt became corrupted with the same kind of characters! Also, everything I typed was like that. (see the picture)Luckly, it was just that tty that became like that.How can I fix the fonts after something like that happens, and how to prevent it from happening whenever I use dd again?
View 4 Replies
View Related
Jul 10, 2009
I just upgraded to Fedora 11. (I decided to give 64bit a try and I am extremely impressed.Not one problem at all! Kudos to the devs.) Whenever I log in I get the Palimpsest Disk Utility telling me two of my hard drives have a reallocated sector count.I have two 1.5Tb Seagate drives (model #: ST31500341AS). One is a backup of the other. On the first disk the disk utility tells me I have 22 reallocated sectors and 53 on the second. I've been on Google on discovered that there is no easy way to fix this and that a few bad sectors are okay but too many is a sign of imminent drive failure. This obviously concerns me because both my main drive and its backup are showing errors.
I went to Seagate's website and downloaded their diagnostic software (Seatools for DOS) and it passed both of these drives.So, questions: is it possible that Fedora is giving me a false positive? If not, is 22 and 53 sectors something to be concerned about? If so, should I contact Seagate and see if I can pull warranty on these drives? Is there a way to repair this damage?
View 5 Replies
View Related
Sep 11, 2015
It all started about a week after upgrading to Jessie and I had an unusual system failure, in that the CPU went to 100% usage and the hard drive light was on constantly. The keyboard and mouse were were non-responsive. Not having REISUB enabled I did the "stupid" thing and pushed the reset button on the computer. BAD BOY! As a result the computer would not boot and I had to use a live CD to format the drive and install Wheezy (I had the CD).
After installing Wheezy, everything worked well for about 3 days and then it did the same thing. Fortunately I had REISUB enabled and was able to reboot. I looked at the syslog and found a segfault with colord-sane and, after some research that suggested colord-sane might be a problem, I set UseSane=1 in colord.conf . Things seemed to be okay for about 4 days.
Well, after all that I had another problem today with booting. During boot I got an error message saying that there was some hard drive problem and that I needed to log in and run fsck, which I did . There were I believe 4 INODE errors that I was asked if I wanted to repair, to which I responded yes. After that the system booted correctly. After booting and entering the Gnome Classic desktop I looked at the Disk Utility and checked the SMART data. There is now 1 bad sector where before there were none. The drive is a one year old WD 500GB Velociraptor.
Don't know if this is relevant, but in the days before this latest "crash" I had downloaded about 8 movies using bittorrent. Could this have overtaxed the HDD?
I guess my questions are: When fsck "repaired" the disk would it have moved any data from the bad sector to a new location? What may have caused the sector to go bad ? Should I be buying a new hard drive?
The system seems to boot okay,at this time, so I assume that no critical system files were affected. Just curious as to how I should proceed. First is BACK UP my data. Got that !
One more thing I just thought of is that every time it "crashed", I was using LXDE.
View 5 Replies
View Related
Apr 30, 2010
I'm going to replace damaged HDDs in my server with new drives, which have sector size of 4096 bytes instead of 512. Does CentOS natively support such drives? If yes, since which version? If no, what actions should I take to correctly prepare such a drive to work. How to check that such a drive is correctly recognized by OS?
View 3 Replies
View Related
Aug 12, 2010
I'm trying to create a user account for my children in Ubuntu 10.04
When creating their account, I have turned off the 'Connect to ethernet and wireless' option of the Advanced Settings.
However, when I log into their accounts, they still have full access to the internet through both the wireless and ethernet connections. Is this option for some other purpose?
Is there an alternate way to limit internet access for childrens' accounts in Ubuntu? (I'm used to MS Family Safety as a filter for internet access - is there an eqivalent for Ubuntu?)
View 2 Replies
View Related
Jul 27, 2010
Title says it all, I get that "un..." when trying to convert an .img file to .iso, am I doing anything wrong here?.
View 3 Replies
View Related
Aug 3, 2009
Upon installing Fedora on my Samsung NC10, I loved it. It feels stable and isn't cluttered with pointless apps. However I was immediately greeted by Palimsest Disk Utility warning me that the 'reallocated sector count' on my hard drive is going bad. I'm not too sure what any of it means but here's the statistics;
ID: 5
Attribute: Reallocated Sector Count
Current: 100
Worst: 100
Threshold: 10
Value: 1 sector
Status: failing
type: pre-fail
status: updates
It also says the temperature is 46 degrees yet the netbook's taken to being very, very hot around the touchpad and under the hard drive.
View 6 Replies
View Related
Apr 8, 2011
I am trying to install Ubuntu to an external usb hard drive (WD Elements SE). I am also choosing to install the grub bootloader to this disk (/dev/sdb) because I do not want anything modified on the internal drive. The installation appears to go okay, but when I try to boot to the usb drive, I get the error, "no boot sector on usb device" and it immediately falls back to my interal drive. I have tried this installation with both 10.10 (amd64) and 11.04 (amd64). How can I fix this?
View 7 Replies
View Related
May 30, 2010
I'm not sure what to do, but I just rescued photos and documents using ubuntu live cd, gddrescue and photorec. The data carving went fine and I was able to move all of my recovered jpg's into a recovery/jpg folder, as well as my word doc's into a recover/doc folder. I also have recovery/video and recovery/audio. Now here's my problem...
I used the right-click "safely remove drive" from the ubuntu interface and then unplugged my external drive. I then tried to view the recovered photos, etc on my windows 7 desktop, but when I plug in the external drive I get an error and a prompt to "format the drive" so that windows can use it.
I plugged the external drive back into my failed laptop and with the ubuntu live cd can see the drive, but none of the folders display. I can cd "change directories" to all of the folders using a terminal, but still can't see them outside of the terminal. That is, with the ubuntu interface. I'm just trying to finish up recoverying these photos, which I thought I had done.
View 4 Replies
View Related
Aug 3, 2011
My pendrive has become read only. I want to format it using Linux - how do I do that?
If I run mkfs.vfat devsdc1, it doesn't work.
View 2 Replies
View Related
Apr 2, 2010
How do I format a USB pen drive? It would be great if there was a GUI solution and not a CLI one.
View 5 Replies
View Related
Jan 22, 2011
I have a Foxsat receiver/recorder. It allows me to take of programs to a pen drive up to 4GB. Well actually that is pretty useless when a film comes along. I was told to make my pen drive into an ext3 from a Linux OS. I have now OpenSuse 64bit. HOw can I format my pen drive and make it into an EXT3
View 3 Replies
View Related
Jan 24, 2009
Can format a drive to ntfs in fedora 10? Do i use fdisk then use format like in dos?
drive info
[root@localhost ~]# fdisk -l
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/sda doesn't contain a valid partition table
View 5 Replies
View Related
Apr 20, 2011
How do I format a Flash Drive in Fedora 14 KDE?
View 3 Replies
View Related
Jan 22, 2011
I need to format a USB pen drive. Reason is I have a Foxsat TV receiver/recorder. In Fat format it will only download programs less than 4GB. Apperently I have been told on a forum and have read it on the company site that if I have Linux I can format it to Extension 3. This will enable me to load of the recorder my programs. I am not sure how this is done.
View 5 Replies
View Related