Page 1 of 1

SSD Configuration

PostPosted: Sep 12th, '11, 19:34
by andytuson
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

Re: SSD Configuration

PostPosted: Sep 12th, '11, 20:03
by dubigrasu
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 :)

Re: SSD Configuration - now MCC Problem

PostPosted: Sep 12th, '11, 21:41
by andytuson
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

Re: SSD Configuration

PostPosted: Sep 12th, '11, 21:58
by dubigrasu
Try as root:
Code: Select all
drakdisk
in console and check for error messages (if any).

Re: SSD Configuration

PostPosted: Sep 12th, '11, 22:11
by andytuson
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

Re: SSD Configuration

PostPosted: Sep 12th, '11, 22:49
by dubigrasu
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...)

Re: SSD Configuration

PostPosted: Sep 12th, '11, 23:03
by andytuson
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

Re: SSD Configuration

PostPosted: Sep 12th, '11, 23:32
by dubigrasu
So what is that sdc device? The fdisk command didn't work for it?

Re: SSD Configuration

PostPosted: Nov 6th, '11, 20:17
by andytuson
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