SSD Configuration

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

SSD Configuration

Postby andytuson » Sep 12th, '11, 19:34

Are there any special configuration settings that I should make when running Mageia 1 on an SSD drive to limit the number of writes and increase the life of the drive?

Andy
andytuson
 
Posts: 10
Joined: Aug 28th, '11, 10:14

Re: SSD Configuration

Postby dubigrasu » Sep 12th, '11, 20:03

You can use the noatime option instead of relatime in MCC >> Local disks >>Manage disk partitions. Click on you partition, Toggle to expert mode and in Options tick the noatime box.

Also you can move /tmp to RAM. MCC >>Boot >>Set up boot system >> Advanced and tick Clean /tmp at each boot.

Firefox also writes a lot to your drive, there was a way to move its cache to RAM too (or if you have a fast connection just disable it), but I don't remember it exactly. Most surely Google does :)
User avatar
dubigrasu
 
Posts: 258
Joined: Apr 27th, '11, 22:34

Re: SSD Configuration - now MCC Problem

Postby andytuson » Sep 12th, '11, 21:41

I can't do either of those because when I select Local Disks or Boot I get the error report: "This program has exited abnormally".

My system is fully updated, so does anyone know what the problem could be?

Andy
andytuson
 
Posts: 10
Joined: Aug 28th, '11, 10:14

Re: SSD Configuration

Postby dubigrasu » Sep 12th, '11, 21:58

Try as root:
Code: Select all
drakdisk
in console and check for error messages (if any).
User avatar
dubigrasu
 
Posts: 258
Joined: Apr 27th, '11, 22:34

Re: SSD Configuration

Postby andytuson » Sep 12th, '11, 22:11

code command not found

[root@localhost andy]# drakdisk
INTERNAL ERROR: unknown device sdc2
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:186
devices::entry() called from /usr/lib/libDrakX/devices.pm:201
devices::make() called from /usr/lib/libDrakX/fs/type.pm:279
fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:287
fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fsedit.pm:271
fsedit::get_hds() called from /usr/sbin/drakdisk:74

Andy
andytuson
 
Posts: 10
Joined: Aug 28th, '11, 10:14

Re: SSD Configuration

Postby dubigrasu » Sep 12th, '11, 22:49

INTERNAL ERROR: unknown device sdc2

?

Type in console:
Code: Select all
fdisk -l /dev/sdc


(the command is only fdisk -l /dev/sdc, don't type also CODE: SELECT ALL...)
User avatar
dubigrasu
 
Posts: 258
Joined: Apr 27th, '11, 22:34

Re: SSD Configuration

Postby andytuson » Sep 12th, '11, 23:03

Actually I have a boot SSD and two 1G drives from programmes and data. The SDD is partitioned Windoze 7 and Mageia. Details of all drives:

[root@localhost andy]# fdisk -l /dev/sda

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x07c6f640

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS
/dev/sda2 206848 140066815 69929984 7 HPFS/NTFS
/dev/sda3 140070735 234436544 47182905 5 Extended
/dev/sda5 140070798 234436544 47182873+ 83 Linux
[root@localhost andy]# fdisk -l /dev/sdb

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5fcd980b

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 24981074 12490506 82 Linux swap / Solaris
/dev/sdb2 24981136 1953520064 964269464+ 5 Extended
/dev/sdb5 24981138 498577274 236798068+ 83 Linux
/dev/sdb6 498577338 1953520064 727471363+ 83 Linux
[root@localhost andy]# fdisk -l /dev/sdd

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5fcd9808

Device Boot Start End Blocks Id System
/dev/sdd1 2048 1953521663 976759808 7 HPFS/NTFS
[root@localhost andy]

Andy
andytuson
 
Posts: 10
Joined: Aug 28th, '11, 10:14

Re: SSD Configuration

Postby dubigrasu » Sep 12th, '11, 23:32

So what is that sdc device? The fdisk command didn't work for it?
User avatar
dubigrasu
 
Posts: 258
Joined: Apr 27th, '11, 22:34

Re: SSD Configuration

Postby andytuson » Nov 6th, '11, 20:17

sdc is a Windows NTFS drive. I backed up the data in Windows and reformatted the drive. All seems to be working well now and the drive is being correctly detected in Linux.

Andy
andytuson
 
Posts: 10
Joined: Aug 28th, '11, 10:14


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron