Archive for the ‘Storage’ Category

Change volume type from MSDOS to GPT

Wednesday, March 18th, 2009

To use a volume larger than 2GB it needs the GPT volume label in stead of MSDOS. I used this with Openfiler 2.3. You can change it like this. THIS REMOVES ALL DATA! parted /dev/sdb mklabel GPT quit Check: parted /dev/sdb print Disk geometry for /dev/sdb: 0.000-2000000.000 megabytes Disk label type: gpt Minor ...

Windows iSCSI dynamic disk does not reconnect after reboot

Thursday, October 16th, 2008

It's not possible; Dynamic disks (applies to Windows 2000 and Windows Server 2003): Configuring volumes on iSCSI disks as Dynamic disk volumes using the Microsoft software iSCSI initiator is not currently supported. It has been observed that timing issues may prevent dynamic disk volumes on iSCSI disks from being reactivated ...

Show directory sizes in Linux

Monday, January 28th, 2008

Use this command to list the directory size of *, ordered from biggest to smallest, output in Mb; du -sm * | sort -nr | more du: -s: don't list each subdirectory, only first level (subdirs are included in size count though) -k or -m: show sizes in kilobytes or megabytes sort: -n: order numbers, not ...