How can I manually partition my B drive

Discussion in 'TiVo Series 1 - UK' started by ciper, Jul 30, 2007.

  1. ciper

    ciper Active Member

    Nov 4, 2004


    I know how you feel. I lost 400gb of recordings recently. I knew my drive was failing and so I tried to find a way to go back to one drive. In the few days afterwards while searching for a method and waiting for my new 500gb drive to come (only 90$ on ebay) the A drive failed completely.

    However by now couldn't you have already re recording the shows you've lost?
  2. ciper

    ciper Active Member

    Nov 4, 2004
    Okay for those who are really brave I have experimented with another set of parameters that help improve speed.

    The first one can be dangerous if you set the wrong option. I tested against my B drive first so that there was no chance of database corruption. The IDE controller in the Tivo supports upto MDMA2 for disk transfers. You can set the even faster UDMA modes but it will freeze the system. I was able to get MDMA2 working on my drives by adding "-X 34" to the HDPARM line in the rc.sysinit . Here is a description of valid options
    PIO modes (Programmed IO) (disk mode (above) + 8)
    hdparm -X08 -> PIO 0
    hdparm -X09 -> PIO 1
    hdparm -X10 -> PIO 2
    hdparm -X11 -> PIO 3
    hdparm -X12 -> PIO 4
    SDMA modes (Single-word DMA) (disk mode (above) + 16)
    hdparm -X16 -> SDMA 0
    hdparm -X17 -> SDMA 1
    hdparm -X18 -> SDMA 2
    MDMA modes (Multi-word DMA) (disk mode (above) + 32)
    hdparm -X32 -> MDMA 0
    hdparm -X33 -> MDMA 1
    hdparm -X34 -> MDMA 2
    UDMA modes (Ultra-DMA) (disk mode (abov) + 64)
    hdparm -X64 -> UDMA 0 (ATA16)
    hdparm -X65 -> UDMA 1 (ATA 25)
    hdparm -X66 -> UDMA 2 (ATA 33)
    hdparm -X67 -> UDMA 3 (ATA 44)
    hdparm -X68 -> UDMA 4 (ATA 66)
    hdparm -X69 -> UDMA 5 (ATA 100)

    Second setting the noatime option in the fstab helps to speed up access to the var partition. You can test this without rebooting using
    mount -o noatime,remount /
    mount -o atime,remount /

    Any other suggestions on what to try? My tivo is still pretty much empty so I dont mind to experiment for you guys
  3. ciper

    ciper Active Member

    Nov 4, 2004
    The Tivo does not support the "nodiratime" option.
    You can set "noatime" on / but it doesn't make a difference since the partition is read only.
    Setting "noatime" on the var partition but the only application I can tell that benefits is MFS_FTP when it runs the update.
    The Tivo seems happy with the prioritized swap. I have never seen more than 10MB of swap used but it is respecting the priority settings.
    I am currently experimenting with nice'ing different tasks to improve gui performance.
  4. mrtickle

    mrtickle Active Member

    Aug 26, 2001
    Birmingham, UK
    Hmm. Only last week I wound down my hdparm settings because of random corruption of files in my var partition (especially the Tracker module data files - very frustrating).

    I did have (tivo's own hdparm):
    hdparm -c1 -d1 -m16 -S0 -M1 /dev/hda

    I now use (using a later hdparm which doesn't support -M):
    /var/hack/bin/hdparm -a0 -A1 -c1 -d1 -S0 -m0 /dev/hda

    You may also like to add this line to
    /var/mfs_ftp/setpri fifo 1 $$

    Can't remember where I read it but it's supposed to help!

    In the days when I used a serial cable running PPP I used to use a Freepages tweak:
    echo "128 256 1024" > /proc/sys/vm/freepages

    Ultimately though you won't improve GUI performance much. Take an empty TiVo with no thumb settings and no Season Passes and remember how fast it is. Add a cachecard and you can get your TiVo back to almost that speed. (See for why).
  5. Alessan

    Alessan New Member

    Feb 23, 2002


    I saw it at one time but can't find it again. Does anyone have the list of the different partitions and what are on those partitions on the tivo drive?
  6. blindlemon


    May 12, 2002
    Malmesbury, UK
    These are fairly typical layouts:-

    A Drive
    #	type	name
    1	Apple_partition_map	Apple
    2	Image	Bootstrap 1
    3	Image	Kernel 1
    4	Ext2	Root 1
    5	Image	Bootstrap 2
    6	Image	Kernel 2
    7	Ext2	Root 2
    8	Swap	Linux swap
    9	Ext2	/var
    10	MFS	MFS application region
    11	MFS	MFS media region
    12	MFS	New MFS Application
    13	MFS	New MFS Media
    	Apple_Free	Extra
    B Drive	
    #	type	name
    1	Apple_partition_map	Apple
    2	MFS	New MFS Application
    3	MFS	New MFS Media
    	Apple_Free	Extra
  7. ciper

    ciper Active Member

    Nov 4, 2004
    Old thread back to life. Just wanted to pop in and say my tivo has been using 1.4GB of swap ever since with no issues.

Share This Page

spam firewall