General :: Partitioning - Trim / Discard A Whole SSD Partition?

Jul 8, 2011

My partition /dev/sda3 on an SSD drive doesn't contain any filesystem, but it contains garbage. How do I do a TRIM/DISCARD operation on the whole partition?

View 2 Replies


ADVERTISEMENT

General :: Partitioning - Copy GNU Installation From A Smaller Partition To A Bigger Partition?

May 4, 2011

I got a new hard disk for my laptop and I want to move my Gentoo installation from old HDD to new.

Most simple guides recommend use of dd to copy the whole partition byte by byte.

I'm moving to the new drive because I don't have enough space on the old drive, so I don't want to simply clone the partition. Instead I need the destination partition to be bigger. Would dd work well in that case?

Assuming that I use same partition types on the new drive, would I be able to use simple cp with appropriate settings?

View 1 Replies View Related

Ubuntu :: Use The 'discard' Option When Mounting An Ntfs-partition?

Dec 19, 2010

Is it possible to use the 'discard' option when mounting an ntfs-partition? Because I'm buying an ssd and I intend to dual-boot windows xp (which doesn't support TRIM) and Ubuntu 10.10 (which does).

View 3 Replies View Related

General :: Partitioning: How To Remove A Partition From A Volume

Feb 8, 2010

When I recently installed Redhat onto my system, I had 2 hard drives in it, and apparently the default usage for the two hard drive is to put them all into 1 volume, so now I have files scattered across both hard drives (with boot on /dev/sdb). LVM won't let me remove the /dev/sdb partition due to not enough room in volume or whatever. What is the easiest way to shift everything, including the boot partition, onto one hard drive so I can remove the other one without reinstalling everything?

View 2 Replies View Related

General :: Partitioning - How To Recover NTFS Partition ?

Jul 21, 2011

I've formated partition to empty - only erased information that partition is NTFS.

Partition data haven't been changed. So i think only little change to partition table is required.

How can i recover it?

View 1 Replies View Related

General :: Partitioning / Perform Bad Blocks Scan On Root Partition

Nov 28, 2010

My root partition is formatted as ext3 and I would like to perform a bad blocks scan on it. Normally e2fsck -c -c does this, but you can not run it on a mounted partition. I know it is possible to force a fsck to run at boot by creating the file /forcefsck but is it possible to specify that it should also check for bad blocks? If not, what is the recommended way to check for bad blocks on the root partition? I would like to avoid having to create a rescue disk and boot off of it.

View 2 Replies View Related

General :: Partitioning - Install Mint 11 To Small Partition On Large USB Drive

May 12, 2011

I want to install Linux Mint 11 (just came out) to a USB drive. My USB drive is 34 gb. So I want to put a 1-2 gb partition on it and install mint just to that. Is that possible? I am a noob so I want to use [URL] but the screenshots don't show an option for a partition or state any extra steps that might be involved in doing this (there's a tutorial for doing this for one of the Ubuntus using fdisk, but I don't have any linux installs right now).

I've seen several tools for partitioning.

View 1 Replies View Related

Debian :: Resizng Partition LVM Partitioning

Oct 18, 2010

/home is running out of space, the partition on my computer is LVM, any software like Partition Magic etc to handle it? If doing from command line, any know of any tutorial?

View 6 Replies View Related

CentOS 5 :: Gpt Partitioning - XFS \ Error, That Boot Partition Is On A Gpt Partition And This Machine Cannot Boot That?

May 21, 2010

I am trying to install a box here where my /storage partition is about 2.5T.I had setup the partitioning with suse, while testing, and all worked well.Now when trying to install CentOs 5.5 it gives me an error, that my boot partition is on a gpt partition and this machine cannot boot that.Also I don't see the option to create XFS partitions from the installer.Can 5.5 support GPT @ install time?

View 1 Replies View Related

Ubuntu :: Partition Tools - Build In Partitioning Application

Jan 23, 2010

Do Ubuntu have a build in partitioning application. What is the name this application and where is it located?

Also is it possible to create or resize other (out-side) partitions from my Ubuntu partition? I have a 1000GB drive and Ubunta now has the first 100GB. I want to work with the other 900GB of disk space useing the partiton tool from WITH-IN Ubuntu while running, if possible.

What is the name of this tool and where is it. Are there more than one partitioning tools inside the latest version of Ubuntu?

View 5 Replies View Related

Ubuntu :: Partitioning Attempt In Win 7 Resulting In No Recognition Of Partition?

Jan 5, 2011

Allow me to preface this post with fact I am 80 and the PC challenges seem to be greater and comprehension a major focus. I just finished a 12 hour recovery on due to this new Toshiba Satellite not recognizing the partition I created with gparted.

The out of the box configuration is unallocated 100 Mib, sda1 NTFS System Boot, sda 2 NTFS WOG with 286'59 GiB, sda3 NTFS Recovery. IIts scary for me to attempt it again but I will try given some clear directions. An option would be my 149 GB external formatted with EXT 3 file system

View 1 Replies View Related

General :: Flag - Option To Discard Case Sensitivity To Find Package Installed Or Not?

Aug 25, 2009

Is there a flag or option to discard case sensitivity to find whether package is installed or not?

from http://www.rpm.org/max-rpm/s1-rpm-query-parts.html

Quote:

Note, however, that RPM is a bit picky about specifying package names. Here are some queries for the C library that won't work:

Code:
rpm -q libc-5.2.1
Let say I want to find out whether PyQt is installed or not but not sure the exact case, i.e. pyqt or Pyqt or ....

is there a way to find whether a package is installed or not without knowing its case exactly?

View 1 Replies View Related

General :: SSD Without TRIM Support Under Current State?

Mar 29, 2011

There are not SSDs with TRIM support available in my region that fit into my laptop (1.8", IDE, ZIF). I'm running Ubuntu 10.10.

Most articles (or questions on superuser) I've come across concering TRIM (or the lack thereof) date back to 2009, when not many SSDs with TRIM support were available and OS support was still very fresh.

I'm interested in the current situation, but I couldn't find too much information about it.

What are currently the "best practices" for using an SSD without TRIM under Linux?
I've read about the wiper script included with hdparm. Do I understand correctly that I could use this to free unused blocks, e.g. by running it once a month?
Some sources state that HFS+ (the default-filesystem of Mac OS X) doesn't suffer as badly from lack of TRIM as other filesystems. How about linux filesystems? Are there filesystems that are better suited for SSDs without TRIM than others?

View 1 Replies View Related

Fedora Installation :: F12 Partitioning - Create A Custom Partition Layout?

Nov 29, 2009

I have several partitions on my hard drive, and like to use the 'Create Custom Layout' option during the installation process, to make sure that I don't loose any of my existing partitions or the data on them.

I have attempted a minimal F12 installation from Fedora 12 DVD. But the 'Create Custom Layout' option is not an option in the menu.

How do I install F12 and tell anaconda exactly which partitions I want to use and format?

My current working partition layout is shown in the attached screenshot.

I want to use the following custom partition layout during the initial F12 installation:

Code:
/dev/sda2 / Fedora-12-root
/dev/sda3 SWAP
/dev/sda11 /var/log/ var-log
/dev/sda12 /tmp tmp

This allows me to share existing partitions between my current working F10 root partition, and the newly-installed F12 root partition. So if there are problems with the new F12 installation, I still have a working F10 system to fall back on.

The other partitions with data on will be mounted when the intiall installation has been completed

View 4 Replies View Related

Fedora Installation :: Default Partitioning And Size Of Temp Partition?

May 12, 2010

I use Fedora 12 AMD64 and I partition my HDD with Default partitioning what happen when temp partition is full by files ?Can this happen ? for example my temp partition full by files and my system can not use temp partition .!can I say my Fedora clear temp after each reboot .?

View 5 Replies View Related

Ubuntu Installation :: Optimal Partition Scheme - Manually Partitioning HD?

Apr 9, 2010

I am a total noob for Linux / Ubuntu. I have been using windows all my life and I decided to get rid of Bill finally. I want to install Ubuntu by Manually partitioning my HD. I have a 500GB HDD. optimal partition scheme. I repeat i am a total Noob. please let me know details for each partition like

1. Primary or Logical
2. type
3. mount point
4. size

I am having no other OS in the pc. just planning to have ubuntu. no dual boot needed.

View 2 Replies View Related

General :: LUKS Encryption Affect TRIM? (SSD And System)

Mar 26, 2010

I'm moving over to Linux when the new SSD arrives. SSD gives increased performance, so I thought that I could encrypt everything.

But then I came to think about TRIM, and garbage collection on the drive. Will a LUKS encrypted drive affect the garbage collection system? (TRIM).

View 3 Replies View Related

General :: How To Strip/trim Characters In Command Line

Mar 23, 2011

I have a bunch of files (around 900) that have some special characters. Some of the files contains example, and quoting "[useless] filename (something)"so what I want is just to strip the brackets and parenthesis, some are folders, others are text files

View 1 Replies View Related

General :: SSD Trim Simple Bash Script Program?

Jul 9, 2011

I wrote this script which works but it should run automatically about once per week. I hunted and experimented with KDE Task Scheduler (no dice and no help anywhere) and cron (confusing instructions and cannot edit crontab -e with vim, and cannot enter cron folders/files). I would settle for a desktop shortcut to run the script but found no for that.

Script:

Code:

#!/bin/bash
xterm -hold -e fstrim -v /
Machine:
OS: openSUSE 11.4 x86_64

[code].....

View 13 Replies View Related

Ubuntu Installation :: Installer Partition 10.10 - Hangs When Select Manual Partitioning

Oct 14, 2010

I've not jumped on the Alpha/Beta upgrade's this time round so have decided to upgrade by doing a fresh install. I'm using the normal desktop install cd via usb. On the drive setup I choose to manually setup the partitions. I deleted the partition which help Lucid. Created a new partition with the root path. All good so far. I selected my home partition and selected use as 'ext2', entered /home as the mount point. Clicking ok to return, showed the /home partition as marked to be formatted, I was unable to change this ... so I decided to quit the installer and reboot ...

1st problem ... the root partition for Lucid was deleted, and a new empty partition created, despite the fact I had not confirmed the actions.

2nd problem ... rebooting with the live cd (which I'm on now) and running the installer, it hangs when I select manual partitioning.

View 7 Replies View Related

Ubuntu Installation :: Partitioning For Dual Boot-- Windows Is On An Extended Partition - Other Weirdness??

Jan 9, 2011

I successfully partitioned my desktop with Gparted and made it into an XP/Ubuntu dual boot.

Now i'm trying to do the same with my netbook (eee pc 1000he), and the existing partitions look funny:

How should I change this to prepare for installing Ubuntu? Can I just install to the unallocated space on the extended partition? I don't need optimal efficiency here, I just need to know where to install Ubuntu for a workable dual boot.

It's confusing to me that Windows is on an extended partition, and also that /dev/sda2 has the boot flag (this drive contains nothing but two undeletable folders titled "amd 64" and "i386"). This set-up is the result of a Windows re-install at a sketchy computer shop.

View 9 Replies View Related

Ubuntu Installation :: Dual Boot Partitioning \ What File System Should Use For Windows Swap Partition

Sep 1, 2011

I am about to get a new laptop here soon and I was planning a dual boot like I have on my current laptop (Win7 and Ubuntu), but I have something special in mind. I looked around the forum to see if there was anything like what I had or if it was even possible but I didn't see anything quite like this.I was wondering if this was even possible, and if so, would anyone be able to tell me what filesystem I should use for my windows swap partition?

View 6 Replies View Related

CentOS 5 :: Boot Partition Is On A Disk Using The GPT Partitioning Scheme But Machines Cannot Boot Using GPT?

Jun 27, 2011

I meet a problem about "Your boot partition is on a disk using the GPT partitioning Scheme but this machines cannot boot using GPT." in installation. Does GRUB-0.97 on CentOS 5.4 support GPT?

View 4 Replies View Related

Ubuntu :: Partitioning A 1TB HD With A "storage Partition"?

Feb 26, 2011

My last HD recently got fried, so I'm installing on a new one... (or maybe I used fsck on it because it had so many bad sectors, and now it wouldn't boot anymore).I want to make 3/4 of the drive for general storage and the rest for the OS (10.10). It would look something like this:

Code:
/dev/sda...
...

[code]....

View 9 Replies View Related

Ubuntu :: Cookie Saving In Chromium / Discard All?

Aug 9, 2010

I would like Chromium to discard all cookies at the end of the session except for specified domains. I thought I had it set up right, but it doesn't remember me on either ubuntuforums or facebook.

Does anyone know if I'm missing something or if this is a bug?
Screenshot of configure attached.

View 2 Replies View Related

Ubuntu Servers :: Discard The Spam Mail ?

Aug 11, 2011

I had setup postfix and spam assassin, and in my environment, I forward the incoming email to my exchange server.

Everything works now, in my mail box, I can receive the email with subject ******SPAM*****. but is there a solution, when spam assassin finished the scan and mark spam, if the score is very high, may be stop to forward it to exchange, for example, send it to a special email box?

View 1 Replies View Related

Software :: How To Discard Checked Out Working Copy?

Jun 14, 2010

Let's say I have a checked out a directory from the svn repo and later on I find that I have no need to make any changes. Of course I can just `rm -r` my working copy, but how do I tell the svn repo that I'm no longer using this working copy?

View 2 Replies View Related

Programming :: Bash: How To Discard Unwanted Stdin

Jun 22, 2010

Often in bash we read lines from stdin in a loop and implicitly discard the remaining stdin by terminating the loop. Is it possible to discard it without terminating the loop? It could lead to smaller code.

Here's an example which uses two loops and below is the same algorithm assuming unwanted stdin can be discarded

Code:
found=
while read destination gateway _
do
[[ $destination = default ]] && found=yes && break
done <<< "$( route )"

[Code].....

View 12 Replies View Related

Networking :: Discard The Duplicate Packet While Reading From Socket?

Feb 18, 2011

I am writing a client program which will read an XML file from the server. The issue I am facing is :

1) The client is able to read the complete file but in the end it also receives a duplicate packet which is actually a part of the same(XML) file.

2) I dont want this packet but how can I be sure that this is a duplicate packet and discard it?

3) Why I am getting this packet?

Output example:

suppose this is the file at server to read :

Code:
<root>
<classes>
<class1>CLASS1</class1>
<class2>CLASS2</class2>

[Code]....

View 1 Replies View Related

OpenSUSE Network :: Postfix Won't Discard Blank Email From Yahoo

Jun 9, 2011

I am running in a problem that i have put a postfix regex which needs to discard emails having no subjects, while it works fine for gmail,hotmail and other domains but it does not work for [URL] ultimate reason behind this is because yahoo does not send subject line if subject is not included in email.

View 3 Replies View Related







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